open command prompt window and change current working directory

后端 未结 7 862
时光说笑
时光说笑 2021-02-01 14:16

I\'m terribly new to scripting on windows. Using windows 7 64.

I\'m trying to make a .bat file that I can double click, and have it open a command prompt and automatical

7条回答
  •  情深已故
    2021-02-01 14:58

    just open a text editor and type

    start cmd.exe
    
    cd C:\desired path
    

    Then save it as a .bat file. Works for me.

提交回复
热议问题