Start a program with command line argument

November 17, 2011 at 12:27:41
Specs: Win 7 Ultimate , 4.17Ghz 8GB ram
I want to start a program with a command line argument
right now im using this to start the program
System.Diagnostics.Process.Start("mbam-setup.exe")

I wast to use the /update switch within the mbam program

is that possible?


See More: Start a program with command line argument

Report •


#1
November 17, 2011 at 12:46:40
System.Diagnostics.Process.Start("mbam-setup.exe", "/update")

Time it would have taken to look up on MSDN: 45 seconds.
Time it took to get an answer from the Internet: 45 minutes.
Just sayin'

How To Ask Questions The Smart Way


Report •

#2
November 17, 2011 at 12:56:53
Thank you.

Sorry i thought i tried that but I might have done it correctly. sorry to waist your time


Report •

Related Solutions


Ask Question