码迷,mamicode.com
首页 > Windows程序 > 详细

古老的BAT文件在windows下的编辑

时间:2019-11-22 17:53:40      阅读:76      评论:0      收藏:0      [点我收藏+]

标签:star   应该   通过   win   文件   start   增加   处理   col   

直接上代码

rem echo choice /t 20 /d y /n >nul
rem start/d "E:\service\exe" 8091.exe 8091

start "E:\service\shortcut" 8091.lnk
echo choice /t 20 /d y /n >nul
start "E:\service\shortcut" 8092.lnk
echo choice /t 20 /d y /n >nul
start "E:\service\shortcut" 8093.lnk
echo choice /t 20 /d y /n >nul
start "E:\service\shortcut" 8094.lnk
echo choice /t 20 /d y /n >nul
start "E:\service\shortcut" 8095.lnk
echo choice /t 20 /d y /n >nul
start "E:\service\shortcut" 8096.lnk
echo choice /t 2 /d y /n >nul
start "E:\service\shortcut" 10000.lnk
echo choice /t 20 /d y /n >nul
start "E:\service\shortcut" 10001.lnk

应该由于高速处理能力,导致系列批处理太快而出现错误。通过增加echo choic /t 20 /d y /n >nul延时。不知道说的是否正确。

古老的BAT文件在windows下的编辑

标签:star   应该   通过   win   文件   start   增加   处理   col   

原文地址:https://www.cnblogs.com/usegear/p/11913013.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!