Have a look at the process namespace. It allows you to *shell out to
executeables via a file path and can accept arguments to that image as well.
ProcessStartInfo psi = new ProcessStartInfo("notepad.exe");
psi.WindowStyle = ProcessWindowStyle.Hidden;
Process p = new Process();
p.EnableRaisingEvents = true;
p.Exited += new EventHandler(MyExited);
p.StartInfo = psi;
p.Start();
--
Regards,
Alvin Bruney
http://www.networkip.net/dotnet/tidbits/default.htm
"Ching-Lung" <cl******@hotmail.com> wrote in message
news:04****************************@phx.gbl...
Hi,
How can I manually run a win scheduled task (*.job) from
C# or through command prompt?
Please advice, thanks!
-CL