Bat編寫 - Windows

By Caitlin
at 2013-07-13T18:43
at 2013-07-13T18:43
Table of Contents
※ 引述《squareff9 (2/16 新生日?)》之銘言:
: 小弟對bat檔編寫一竅不通
: 想徵求一個高手幫寫
: 目前我在電腦執行的流程如下
: 執行 -> CMD -> xxxkill 003
: 等待兩秒後
: 自動執行以下指令
: C:\123\003.exe
: 請問該怎麼編譯
: 會附上2000P 給版上的高手的
:: Server 2003 以後用這裡
@xxxkill 003
@timiout /t 2
@start "C:\123\003.exe"
:: XP 請用
@xxxkill 003
@CHOICE /C YN /N /T 2 /D Y > nul
@start "C:\123\003.exe"
:: 或者是
@xxxkill 003
@ping 127.0.0.1 -n 2 -w 1000 > nul
@start "C:\123\003.exe"
如果要 loop 的話請自己在前面加
:start
跟在最後面加
goto :start
--
: 小弟對bat檔編寫一竅不通
: 想徵求一個高手幫寫
: 目前我在電腦執行的流程如下
: 執行 -> CMD -> xxxkill 003
: 等待兩秒後
: 自動執行以下指令
: C:\123\003.exe
: 請問該怎麼編譯
: 會附上2000P 給版上的高手的
:: Server 2003 以後用這裡
@xxxkill 003
@timiout /t 2
@start "C:\123\003.exe"
:: XP 請用
@xxxkill 003
@CHOICE /C YN /N /T 2 /D Y > nul
@start "C:\123\003.exe"
:: 或者是
@xxxkill 003
@ping 127.0.0.1 -n 2 -w 1000 > nul
@start "C:\123\003.exe"
如果要 loop 的話請自己在前面加
:start
跟在最後面加
goto :start
--
Tags:
Windows
All Comments
Related Posts
想把XP 32位元升成WIN7 64位元

By Andrew
at 2013-07-13T16:14
at 2013-07-13T16:14
手機USB數據連線的問題

By Elvira
at 2013-07-13T15:33
at 2013-07-13T15:33
XP的explorer亂掉,請問是中毒嗎?(有圖)

By Heather
at 2013-07-13T01:09
at 2013-07-13T01:09
Bat編寫

By Belly
at 2013-07-12T23:22
at 2013-07-12T23:22
如何讓其它權限使用者可以關閉網路?

By Delia
at 2013-07-12T21:24
at 2013-07-12T21:24