开发者

Passing parameters on a batch file

开发者 https://www.devze.com 2023-03-07 16:20 出处:网络
Could anyone help me out, I have a batch file find.bat which has a statement: findmp 开发者_运维技巧%VARIABLE%

Could anyone help me out, I have a batch file find.bat

which has a statement:

findmp 开发者_运维技巧%VARIABLE%

what I would like to find out is how to pass a paramater on the batch file

e.g. find.bat /C:\Test

So when called the batch file would execute:

findmp C:\Test

Can this be done in Batch?


can't be the first parameter?

find.bat c:\test

and inside the bat:

findmp "%1"
0

精彩评论

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