how to do “press enter to exit” in batch

后端 未结 7 1199
眼角桃花
眼角桃花 2021-02-06 19:59

I am using rake to build my project and I have a build.bat file similar to this:

@echo off
cls
rake

When I double click on build.bat the dos wi

相关标签:
7条回答
  • Oops... Misunderstood the question...

    Pause is the way to go

    Old answer:

    you can pipe commands into your patch file...

    try

    build.bat < responsefile.txt
    
    0 讨论(0)
提交回复
热议问题