Changing default path of cmd in Windows

Very easy:

Initially, my console looked like this:

Here are simple steps you need to follow:

  • Go to Users folder c:\Users and create a new folder named “Virat”.

  • Press Windows+R and type regedit, registry editor will be opened. From there go to HKEY_CURRENT_USER\Software\Microsoft\Command Processor
  • Right click and create new String Value, name it Autorun. Double click on Autorun and set Value Data to cd /d C:\Users\Virat

  • Now Start cmd again and if you followed all the steps correctly you will see this:

Hope this helps.