|
|
Title | Run a DOS batch file passing it a parameter |
Keywords | DOS, batch file, command file |
Categories | Windows |
|
|
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
|
|
|
|
|
|