BAT file to open CMD in current directory

前端 未结 17 1993
清酒与你
清酒与你 2020-12-22 18:09

I have many scripts which I interact with from the command line. Everytime I need to use them, I have to open a command line window and copy+paste and CD to the path to the

17条回答
  •  悲哀的现实
    2020-12-22 18:35

    Create a new file startCmdLine.bat in your directory and put this line in it

    call cmd
    

    That is it. Now double click on the .bat file. It works for me.

    You can replace call with start, it will also work.

提交回复
热议问题