Changing default startup directory for command prompt in Windows 7

后端 未结 23 2084
情深已故
情深已故 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:19

    HKEY_CURRENT_USER\Software\Microsoft\Command Processor

    string: Autorun value: cd /d %~dp0

    all bat files will run from the bat file location

提交回复
热议问题