
Help:Running DOS commands from SHELL function
Anyone,
I am trying to run DOS apps through VB using SHELL command. I have no problem
getting executables to run. However, previously in DOS i might have a line in a
bat file that looks like:
program.exe file.tmp file.out
The program.exe is opening file.tmp, performing some action and writing to
file.out. How do I put the line above in VB context? I know to start with:
Shell (c:\command.com /c c:\program.exe "what goes here?" >
c:\file.out )
Thanks for your help.
- M. English