Changing default startup directory for command prompt in Windows 7

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

    Bit late but ignore the registry mods. Simply change the shortcut target to:

    cmd /k "command"
    

    i.e.

    cmd /k "cd\myStartUpFolder"
    

    Voila!

提交回复
热议问题