Olympus-OM
[Top] [All Lists]

Re: [OM] OT 16 bit Windoze [was OT: Batch Files]

Subject: Re: [OM] OT 16 bit Windoze [was OT: Batch Files]
From: "Ian Manners" <void@xxxxxxxxxx>
Date: Sat, 31 Jan 2015 10:51:09 +0800 (WST)
Hi Chris,

>      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

The OS/2 version would be

detach "C:\PROGRAM FILES\(PROGRAM A)"
detach "C:\PROGRAM FILES\(PROGRAM B)"
exit

what you want to do is detach the program your
calling program as its either not exiting itself, or
its not passing control back to the calling process/batch
file.

I'm forgot so much about Microsoft Windows but
I think the START command could be what you
are looking for instead of using CALL.

I could be wrong to as is been so long, like decades :)

Cheers
Ian Manners
Of nowhere in particular.
-- 
_________________________________________________________________
Options: http://lists.thomasclausen.net/mailman/listinfo/olympus
Archives: http://lists.thomasclausen.net/mailman/private/olympus/
Themed Olympus Photo Exhibition: http://www.tope.nl/

<Prev in Thread] Current Thread [Next in Thread>
Sponsored by Tako
Impressum | Datenschutz