PDA

View Full Version : Running programs from CMD at the Run prompt?


View Full Version : Running programs from CMD at the Run prompt?


catch22713
June 20th, 2005, 01:27 PM
I play a game called Soldat & in the online manual (scroll down a little (http://www.soldat.pl/man/manual-en.html#KOMENDY) ) it says how once the game is running you can enter commands such as "-join [IP] [port] [server password]" instead of using the GUI. I want to use this information to create a shortcut so that I can go directly to my clan's server. I am fairly certain this can be done, I'm just not sure how. I have tried making a shortcut with address "soldat://[IP address]:[Port]", but it stops me & asks for a password for the server. Is it possible to make a shortcut to cmd.exe such that the shortcut is to cmd.exe running "soldat.exe -join [IP] [port] [server password]"? I know this is sort of convoluted, but any help would be greatly appreciated.

cpugeniusmv
June 20th, 2005, 02:05 PM
I play a game called Soldat & in the online manual (scroll down a little (http://www.soldat.pl/man/manual-en.html#KOMENDY) ) it says how once the game is running you can enter commands such as "-join [IP] [port] [server password]" instead of using the GUI. I want to use this information to create a shortcut so that I can go directly to my clan's server. I am fairly certain this can be done, I'm just not sure how. I have tried making a shortcut with address "soldat://[IP address]:[Port]", but it stops me & asks for a password for the server. Is it possible to make a shortcut to cmd.exe such that the shortcut is to cmd.exe running "soldat.exe -join [IP] [port] [server password]"? I know this is sort of convoluted, but any help would be greatly appreciated.
You shouldn't need to involve the command prompt, just make a shortcut like this:

"C:\Program Files\Someotherfolder\asdfasdf\soldat.exe" -join 123.123.123.122 23 password

The path to soldat.exe, of course, should be changed appropriately.

catch22713
June 20th, 2005, 05:30 PM
Thanks, it worked perfectly.

talkinghand
June 20th, 2005, 06:08 PM
that is ofcouse why they call him cpugeniusmv