how to call .VBS in C#?

  • Thread starter Thread starter James Pang
  • Start date Start date
Have a look at the Process and ProcessStartInfo classes. Pay particular
attention to the ProcessStartInfo.UseShellExecute property, as I believe
that will need to be set to true in order to properly launch VBScript, batch
files, and the like (i.e., non-executables).

--Bob
 
Back
Top