开发者

Batch file scripting

开发者 https://www.devze.com 2023-03-23 08:37 出处:网络
My Application.exe takes a filename as a parame开发者_开发知识库ter. I would like to write a windows batch file script that does the following:

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

精彩评论

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