Computing.Net > Forums > Programming > Excel VBA - batch file in Dos - She

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Excel VBA - batch file in Dos - She

Reply to Message Icon

Name: rww
Date: September 23, 2002 at 10:35:43 Pacific
OS: NT
CPU/Ram: INTEL 1.2G 256
Comment:

I have a DOS Batch file that starts a fortran program with an instruction file. This batch file works fine and I can run it from the Windows Start Menu. But I can't get the batch file to run from the Shell in my Exel (2000) VBA. I know my shell operations work fine because I can run a DOS executble - I just can make it run the batch file. Any ideas (I am looping to wait for the program to run before continuing with my VBA)



Sponsored Link
Ads by Google

Response Number 1
Name: adamu sylvester
Date: September 24, 2002 at 05:56:47 Pacific
Reply:

while dont u save the batch file has an .exec file and whenever u wish to work it.
or whenever u want to load the batch file remember to include the drive where the batchfile is found eg c:/batchfile.bat
thanks
sylvester
from nigeria


0
Reply to Message Icon

Related Posts

See More


Batch file /Exclude rule?... about TSR



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Excel VBA - batch file in Dos - She

Replacing file in Dos www.computing.net/answers/programming/replacing-file-in-dos/17225.html

DOS Batch FIles www.computing.net/answers/programming/dos-batch-files/12546.html

Batch file in perl www.computing.net/answers/programming/batch-file-in-perl/13783.html