TIP: Click on subject to list as thread! ANSI
echo: bbs_internet
to: Dan Ceppa
from: mark lewis
date: 2004-08-31 11:04:14
subject: BAT Files

DC> This is kinda related to here...

just barely ;)

 DC> How do you use a BAT file to be able to load a
 DC> program and then do something else?

that depends on the OS being run...

generally speaking, you'd use some sort of "start" command or
utility to fire up the additional items... however, this means that the OS
must be multitasking already...

 DC> IOW, I've got a bat file that loads Switcher.  However, the
 DC> bat file won't do anything else until I uninstall Switcher.
 DC> Only then does it run the other commands/programs I want
 DC> to run.  (Whcih is too late!)

if switcher is the "multitasker", then i don't know that you can
do what you are wanting... are you wanting the other items to be started
from within switcher or in addition to switcher? if in addition to, then
the OS is already multitasking and switcher isn't needed, is it? or am i
misunderstanding switcher?

an example:

{at}echo off
dothis
dothat
start something
start somethingelse
start thecar


in the above, dothis will run and the bat will wait till it finishes...
then it will run dothat and wait for it to finish... the other three will
all be fired up at the same time to run seperately...

)\/(ark

* Origin: (1:3634/12)
SEEN-BY: 633/267 270
@PATH: 3634/12 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.