Process isn't accepting the args method. What do I need to do so I can run the exe??
p.StartInfo.WorkingDirectory = "C:\\AutoPP\\AutoD\\";
p.StartInfo.Arguments = "c/ AutoDim.exe";
p.StartInfo.FileName = "cmd.exe";
p.StartInfo.CreateNoWindow = false;
p.StartInfo.WindowStyle = ProcessWindowStyle.Normal;
p.Start();
//
p.StartInfo.WorkingDirectory = "C:\\AutoPP\\AutoD\\";
p.StartInfo.Arguments = "c/ AutoDim.exe";
p.StartInfo.FileName = "cmd.exe";
p.StartInfo.CreateNoWindow = false;
p.StartInfo.WindowStyle = ProcessWindowStyle.Normal;
p.Start();
//
rickPosted Aug 24, 2005, 9:19 PM
There are not supporting it to run any other way. I can get it to run but the code inside blows up if I
run it as a stand alon exe. Thats why I'm trying to use the command line to call the exe. Any ideas?
Can I run a schedual task via .net app?
I'm trying to do this within a webservice.
jeromydeanPosted Aug 24, 2005, 8:47 PM