开发者

how to make a .CMD to start program with parameters?

开发者 https://www.devze.com 2023-02-22 01:33 出处:网络
I have a program. now i made a .cmd file that opens it with the parameters m 1000. The 1000 is a relation numb开发者_运维百科er of a customer in the database. now what i want to know if it is possible

I have a program. now i made a .cmd file that opens it with the parameters m 1000. The 1000 is a relation numb开发者_运维百科er of a customer in the database. now what i want to know if it is possible to make the 1000 variable. so i can automaticly change that number to another customer of choice that i already specified in a .php file or .html.

i hope my question is clear.


Are you on windows? Sorry if i don't get it, but you're tring to modify that cmd so if you run command.cmd 2000 it will run the program with m 2000? Have have a look at

http://www.horstmann.com/bigj/help/windows/advanced.html

there go to "Batch File Arguments" section so you can reuse the cmd command inside the cmd

0

精彩评论

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