To change default directory of CMD follow these steps:
- Navigate to the key HKEY_CURRENT_USER \ Software \ Microsoft \ Command Processor from left side. Now Right click on right panel. Select New, then String Value
- Name it as Autorun
- Now double click Autorun and type cd /d "New Path" in Value Data textbox. For example if you want that whenever you open CMD the default path will be E:\GSBPROGRAMMING then you will type as: cd /d E:\GSBPROGRAMMING then click OK and close the Registory Editor and also CMD.
No comments:
Post a Comment