Changing default startup directory for command prompt in Windows 7

后端 未结 23 2071
情深已故
情深已故 2020-11-30 19:50

How do I change default startup directory for command prompt in Windows 7?

I usually do the following to start command prompt from C:\\

  WIN-R (Run Promp         


        
23条回答
  •  臣服心动
    2020-11-30 20:18

    Open regedit and browse to this path

    HKEY_CURRENT_USER\Software\Microsoft\Command Processor
    

    Create new string vale named Autorun. Set its value to cd /d C:\.

    Run cmd again. Voila!

提交回复
热议问题