When you open command prompt in any version of Windows, the default directory is either set to C:\Windows\System32 or C:\Users\<user name>.
If you want to change the default directory of the command prompt to some other folder, here are 3 simple steps to do so.
- Search for command prompt in Windows search. Right-click and open file location.
- Right-click on the Command Prompt shortcut and open the properties. Change the ‘Start in‘ field under the Shortcut tab as shown below and click OK.
Read also: How to Disable Windows Defender Antivirus Permanently
- Verify by opening the command prompt again and the path is changed.
That’s all it takes to change the default directory in the Windows command prompt.
Happy learning 🙂