Home All Groups Group Topic Archive Search About

Execute an MS-DOS application from VB.NET

Author
17 May 2006 4:01 PM
Military Smurf
I want to run an MS-DOS command from a VB.NET application as if I was
directly typing from the command line.  What is the syntax to do this?

Author
17 May 2006 4:39 PM
Herfried K. Wagner [MVP]
"Military Smurf" <MilitarySm***@discussions.microsoft.com> schrieb:
>I want to run an MS-DOS command from a VB.NET application as if I was
> directly typing from the command line.  What is the syntax to do this?

Check out 'Shell' and 'System.Diagnostics.Process.Start'.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>