VOGONS


First post, by cruonit

User metadata
Rank Newbie
Rank
Newbie

i want to start an application in dosbox from cmd so i used:

"C:\Program Files\DosBox\DosBox.exe" "C:\path\app.exe 1 2 3 4"

the problem is
"C:\Program Files\DosBox\DosBox.exe" "C:\path\app.exe"
this works so it runs the app.exe but it won't pass the arguments (argv) to the .exe application.

Any idea how to do this ? I am using .Net Process.Start("c:\\..\\dosbox.exe","c:\\path\\app.exe 1 2 3")

but it doesn't work with parameters

Reply 1 of 1, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

you need to use the -c parameter to get what you want

Water flows down the stream
How to ask questions the smart way!