Running a batch file in DOS
Chipp Walters
chipp at chipp.com
Tue Dec 11 04:18:00 EST 2001
Jerry,
The /C is a switch which tells DOS to close after running the batch file.
test.bat is the name of the file...in the same directory as the command.com
file.
because it is difficult to always know you have a correct path, it is easier
to just put the file in the same directory as command.com
you might try fooling around with a designated path like "C:\bin\newmon.bat"
It would look like:
open process "C:\WINDOWS\COMMAND.COM /C C:\bin\newmon.bat"
hope it works!
-----Original Message-----
From: Jerry Daniels [mailto:jerry at danielsfamily.org]
Sent: Tuesday, December 11, 2001 2:34 AM
To: 'Chipp Walters'
Subject: RE: Running a batch file in DOS
Specifically, the batch file I'm trying to open is
-----Original Message-----
From: Chipp Walters [mailto:chipp at chipp.com]
Sent: Tuesday, December 11, 2001 2:08 AM
To: use-revolution at lists.runrev.com; jerry at danielsfamily.org
Subject: RE: Running a batch file in DOS
Jerry,
try:
open process "C:\WINDOWS\COMMAND.COM /C test.bat"
this runs the batch file "test.bat" from within the windows directory
-Chipp
>>I got one for you...how do you run a batch file under Windows?
More information about the use-livecode
mailing list