Search results for query: *

  1. A

    running dos command in vb.net

    Dos Command You have to use the System.Diagnostics.Process class. The following code issues a dir command and retrieves all the output generated by the command prompt in a string variable. You can write its contents to a file if you want: ProcessStartInfo si = new ProcessStartInfo("cmd.exe");//...
Back
Top