批次檔撰寫 - Windows

By Ursula
at 2010-10-20T15:23
at 2010-10-20T15:23
Table of Contents
這問題很淺 *_* ,會被噓吧..
for %i in (1 2 3) do echo %i
上面是一句可以執行的 for loop
但如果我想在每次 for 時,執行多一些指令要怎麼做?
如果是 C 語言,就可以用大括號
for %i in (1 2 3) do {
echo %i
echo more // 第二行了
}
但這只是批次檔,*.bat
還是說只能把多一些的指令獨立成另一個檔
要求跳過去執行呢?
(如果不適合 PO 這板,還請告知可前往哪板)
謝謝
--
活動/美食計劃
蘭嶼 阿吉師/吉庵 澎湖 馬祖 鹽山 保齡球
嘉義阿里山小火車 勝興車站 侯硐
手包水餃 日月潭纜車 第十六次兩天一夜同學會 10/30
草嶺古道 合歡攻頂 賞秋楓(武陵?)
--
Tags:
Windows
All Comments

By Regina
at 2010-10-23T03:26
at 2010-10-23T03:26

By Quanna
at 2010-10-25T19:35
at 2010-10-25T19:35

By Olga
at 2010-10-30T14:41
at 2010-10-30T14:41

By Frederic
at 2010-10-31T00:33
at 2010-10-31T00:33
Related Posts
Windows Update更新Windows Live程式集

By Aaliyah
at 2010-10-20T13:39
at 2010-10-20T13:39
Windows 7 與HP網路印表機的問題

By Dora
at 2010-10-20T13:06
at 2010-10-20T13:06
追憶Windows 1.0 微軟首次披露珍貴圖片

By Cara
at 2010-10-20T11:49
at 2010-10-20T11:49
微軟宣佈Office 365

By Caroline
at 2010-10-20T11:26
at 2010-10-20T11:26
Win7 灌WowUSBProtector

By Quintina
at 2010-10-20T11:12
at 2010-10-20T11:12