System.Diagnostics.Process.Start(str) with parameter

G

Guest

I got the str from registry and exeute, these string might include "," and
"/" and
"-" with parameter..., for ex.
str = rundll32.exe "%ProgramFiles%\INTERN~1\hmmapi.dll",OpenInboxHandler
str = "C:\PROGRA~1\MICROS~4\OFFICE11\OUTLOOK.EXE" /recycle
str = "C:\Program Files\Internet Explorer\iexplore.exe" -nohome

this might can use ProcessStartInfo, but I need split "," "/" "-", any
better solution for it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top