I'm trying to launch a program using Process.Start with arguments:
When I use the above code, absolutely nothing happens. If I remove the arguments, the program launches, but I need the arguments. However, if I use this code in the command line (CMD.EXE):
Everything launches as normal. I think it has something to do with the quotation marks, but that's the only way I could get the IDE (VS2010) to give me no errors.
Code:
Process.Start(Path, "/instant 01:01:01 'C:\Program Files\Ccleaner\Ccleaner.exe'")
Code:
program.exe /instant 01:01:01 "C:\Program Files\Ccleaner\Ccleaner.exe"