How to execute an exe ,bat,etc files from C# program
Well this is Pretty Simple than u might ever wonder
just use the code given below
just use the code given below
System.Diagnostics.Process.Start( "C:\WINDOWS\system32\CALC.EXE" );
In the Above code (given in red) ,You can execute any file with full Pathname or with
Shorthand like simply "calc.exe" if your file is in same directory of the C# program
Enjoy.........:)
Comments
Post a Comment