BAT file to open CMD in current directory

前端 未结 17 2013
清酒与你
清酒与你 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

    this code works for me name it cmd.bat

    @echo off
    title This is Only A Test
    echo.
    :Loop
    set /p the="%cd%"
    %the%
    echo.
    goto loop
    

提交回复
热议问题