Guilherme Pedrosa
On my previous post about setting up a data-science development environment without admin rights on Windows, there is a step where the registry needs to be edited. Recently, I have tried to follow the same instructions I wrote back then without success. It happens that the Command Processor entry cannot simply be found anymore.
In order to make my aliases stored on HOME directory initialize upon cmd startup, I have found the following work around:
reg add "HKCU\Software\Microsoft\Command Processor" /v AutoRun /t REG_EXPAND_SZ /d "%"USERPROFILE"%\alias.cmd" /f
It correctly autoruns the alias on cmd startup, solving the issue. More info on Microsoft’s docs.
Hey, be the first who comment this article.