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:[EMAIL PROTECTED]]
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:[EMAIL PROTECTED]]
Sent: Tuesday, December 11, 2001 2:08 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
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?

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to