IIRC the "CALL' command was used for Batch files and required a 'RETURN'
command. like;
ECHO ON
CALL "C:\PROGRAM FILES\(PROGRAM A)"
CALL "C:\PROGRAM FILES\(PROGRAM B)"
ECHO OFF
RETURN
EXIT
All the little BAT files I created, I didn't use the CALL command for EXE
files. Like;
ECHO ON
C:\PROGRAM FILES\(PROGRAM A)
C:\PROGRAM FILES\(PROGRAM B)
ECHO OFF
EXIT
If that doesn't help I'd comment out ECHO ON, so you the commands execute. You
can also use 'ctrl C' to terminate the batch file or executable.
Hope that helps, Larry
On 01/30/2015 02:16 PM, Chris Trask wrote:
-The trouble I'm having with BAT files is simply this: I have a short
one that I've used with Win98/SE for over a decade that launches two
additional programs when starting my firewall so that I just have to
click on one icon instead of three: ECHO ON CALL "C:\PROGRAM
FILES\(PROGRAM A)" CALL "C:\PROGRAM FILES\(PROGRAM B)" ECHO OFF EXIT
With WinXP and Win7, it will only start PROGRAM A. As you can see,
it's simply a few CMD lines, which should not be a problem. Perhaps I
should write it in TurboBASIC and compile it as an EXE file. Chris
When the going gets weird, the weird turn pro - Hunter S. Thompson
--
_________________________________________________________________
Options: http://lists.thomasclausen.net/mailman/listinfo/olympus
Archives: http://lists.thomasclausen.net/mailman/private/olympus/
Themed Olympus Photo Exhibition: http://www.tope.nl/
|