Start a program with command line args [solved]
hi guys i need your help
i want to make a programm that starts css
normaly i would use this code:
Code:
process.start("application path")
but when i click on the shortcut to see the startuppath i see this
Code:
"C:\Program Files\Counter-Strike Source\hl2.exe"-nomaster -game cstrike -nojoy
is there a way to start hl2.exe-nomaster -game cstrike -nojoy ?
please help me
thanks

[highlight="VB.Net"]Dim startInfo As New ProcessStartInfo("C:\Program Files\Counter-Strike Source\hl2.exe")
startInfo.Arguments = "-nomaster -game cstrike -nojoy"
Process.Start(startInfo)[/highlight]
Dno if that works.
Marked solved then. Back to hiatus until tomorrow night. Sorry to anyone with pending attachments, cannot download where I am at the moment, will be back tomorrow night.