0
点赞
收藏
分享

微信扫一扫

windows 批处理的一些用法


===============build.bat=============

call D:\scm_home\compile.bat
call D:\scm_home\start_tomcat.bat

cd D:\scm_home

原来 没写call ,调用一个批处理后,就不跑了.
因为windows批处理是单线程的.
所以加call就能执行

另外 start

start D:\scm_home\compile.bat
start D:\scm_home\start_tomcat.bat

这样就是并发.两个线程来处理
call 就是单线程执行.

举报

相关推荐

0 条评论