c# - How to use process.StartInfo.Arguments in command prompt? -
i wanted use c# visual studio open command prompt using process.startinfo.filename , process.startinfo.arguments give commands automatically not work out. knows how this? ( using cmd call python script )
try using following. hope helps. replace notepad.exe else like.
process p = new process(); p.startinfo = new processstartinfo("cmd.exe", "/c notepad.exe"); p.start();
please refer http://ss64.com/nt/cmd.html more details.
Comments
Post a Comment