How to configure the Windows 10 command line path so that when you open the command line there is always such a sample:
D:\works\projects Transitions cd not to offer.
How to configure the Windows 10 command line path so that when you open the command line there is always such a sample:
D:\works\projects Transitions cd not to offer.
Enter or create, if not, a key in the registry at HKEY_CURRENT_USER\Software\Microsoft\Command Processor with the name "Autorun" , the value of which will be the command to go to your folder.
Well, or just copy the text below into the temp.reg file and run:
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Command Processor] "Autorun"="cd /d \"D:\\works\\projects\"" After making (even without rebooting), the CMD will open in the correct folder.
dir command in it, it will show the directory not from the place where it was launched, but from the current working directory (ie D:\works\projects ) - Gennady PSource: https://ru.stackoverflow.com/questions/903695/
All Articles