开发者

Batch file scripting

My Application.exe takes a filename as a parame开发者_开发知识库ter.

I would like to write a windows batch file script that does the following:

Lets me point to a folderpath and does the following:

 for int = 0 ; i<folderpath.filecount();i++
{
  Application.exe filename[i]
}

Many Thanks


use the for command. For example (FIXED)

for %%i in (%1\*) do Application.exe "%%i"

see help for for lots of extra useful options and syntax.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜