Jan 26, 2004 #1 hugh999 MIS Nov 29, 2001 129 IE Hi I have the following code that runs a btach file on my machine. { System.Diagnostics.Process.Start ("c:\\del.bat" } How do i run the batch file in Minimized mode. Thanks
Hi I have the following code that runs a btach file on my machine. { System.Diagnostics.Process.Start ("c:\\del.bat" } How do i run the batch file in Minimized mode. Thanks
Jan 26, 2004 #2 rosenk Programmer Jan 16, 2003 403 [tt]ProcessStartInfo startInfo = new ProcessStartInfo("c:\\del.bat" startInfo.WindowStyle = ProcessWindowStyle.Minimized; Process.Start(startInfo);[/tt] Upvote 0 Downvote
[tt]ProcessStartInfo startInfo = new ProcessStartInfo("c:\\del.bat" startInfo.WindowStyle = ProcessWindowStyle.Minimized; Process.Start(startInfo);[/tt]
Jan 26, 2004 Thread starter #3 hugh999 MIS Nov 29, 2001 129 IE Thnaks rosenk The code does the job Upvote 0 Downvote