How to run a Dos command in Vb.net?

 Posted by Bharathi Cherukuri on 4/20/2012 | Category: VB.NET Interview questions | Views: 2738 | Points: 40
Answer:

To run a DOS command in VB.NET, the following codeis used:

Shell("cmd.exe /c c:\first.exe < in.txt > out.txt")


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response