Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27358

VS 2010 [RESOLVED] Process.Start Arguments

$
0
0
I'm trying to launch a program using Process.Start with arguments:

Code:

Process.Start(Path, "/instant 01:01:01 'C:\Program Files\Ccleaner\Ccleaner.exe'")
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):

Code:

program.exe /instant 01:01:01 "C:\Program Files\Ccleaner\Ccleaner.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.

Viewing all articles
Browse latest Browse all 27358

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>