Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
MSDN Visual Basic Community
 
 
 
 
 
 
TitleRun a DOS batch file passing it a parameter
KeywordsDOS, batch file, command file
CategoriesWindows
 
Use the Shell statement. Add the parameter to the command name.
 
Private Sub cmdRun_Click()
    Shell App.Path & "\dosbatch.bat " & _
        txtparameters.Text, vbNormalFocus
End Sub
 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated