How do I run a batch script from within a batch script?

前端 未结 8 1626
礼貌的吻别
礼貌的吻别 2020-12-12 18:48

How do I call another batch script from within a batch script?

I want it to execute in an if statement.

8条回答
  •  没有蜡笔的小新
    2020-12-12 19:06

    huh, I don't know why, but call didn't do the trick
    call script.bat didn't return to the original console.
    cmd /k script.bat did return to the original console.

提交回复
热议问题