Modifying a batch file is as simple as editing a text file. Search the forums on how to work with text files.
To run it use this code
Note: /c closes the DOS prompt when finishedCode:Call Shell(Environ$("COMSPEC") & " /c C:\MyFile.bat", vbNormalFocus)
Hope this helps...




Reply With Quote