Run .bat commands from shell
Posted on 2003-10-31
I have created a button (plinkButton) in a form.
I am using the shell command to call a batch file called plink.bat
Here is the command I am currently using:
Shell("C:\Program Files\plink.bat", vbNormalFocus)
The batch file consisits of the following commands:
I would like to illiminate the .bat file all together and be able to run the above in my project without calling out to an external batch file.
How do I do that?