TIP: Click on subject to list as thread! ANSI
echo: bluewave
to: Dan Ceppa
from: Charles Jennings
date: 2004-10-07 02:27:58
subject: Re: bat callin bat

Dan Ceppa wrote the following to Charles Jennings, and I quote (in part):

 DC> It looks like it worked just fine.  

   Good deal!  I thought it probably would. As a general rule I try
to name my batch files so there is no confusion with an executable.
I.e.  I would name SCAN.BAT SCAN_IT.BAT.  It also avoids
inadvertently running the EXE file when you intended to run the BAT
file.


What I'd like to do is to load SWITCHER and get my first
session up and running after loading it.  I get dumped into
the C:\SWITCHER directory as soon as I run SW.BAT  Commands
I have in there do not run until I exit SWITCHER.  But, they
do run just as soon as I exit the program and go back to a
single  C:\ prompt

   I am not real sure what you are saying here.  I assume that
SWITCHER is one command in SW.BAT and SW.BAT is not in C:\SWITCHER
directory?  Have you tried using a path?
I.e.   START C:\SWITCHER\SWITCHER.EXE.  Or adding CD C:\ just after
the SWITCHER command.

  If you are trying to get the remainder of SW.BAT to run before
SWITCHER finishes, I suspect that you are out of luck.  Unless
SWITCHER has the ability to run a batch file itself.

    Good luck, 
      Charles

... CMOS - Commonly Misunderstood Option Switchs
--- Via Silver Xpress V4.5/P [Reg]
* Origin: Silver Xpress Mail System (1:382/61)
SEEN-BY: 633/267 270
@PATH: 382/61 140/1 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™.