Changing default startup directory for command prompt in Windows 7

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

    "start in directory" command

    cmd /K cd C:\WorkSpace
    

    but if WorkSpace happens to be on different than C drive, console will be launched in default folder and then you still need to put D: to change drive To avoid this use cd with -d parameter

    cmd /K cd -d D:\WorkSpace
    

    create a shortcut and your fixed ;)

提交回复
热议问题