Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
 
 
 
 
 
 
 
Old Pages
 
Old Index
Site Map
What's New
 
Books
How To
Tips & Tricks
Tutorials
Stories
Performance
Essays
Links
Q & A
New in VB6
Free Stuff
Pictures
 
 
 
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-2003 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated