The online racing simulator
How do i do this?
(11 posts, started )
How do i do this?
How do I make a single batch file run all of my servers?
START c:\lfs\LFS.exe /cfg=cfgfile1.cfg
START c:\lfs\LFS.exe /cfg=cfgfile2.cfg
etc
etc

cheers
The START command isn't needed.
Quote from Stefani24 :The START command isn't needed.

without them, wouldn't they run one after another, as opposed to all at the same time?

i haven't written batch in years since i became a linux user.
Quote from bunder9999 :without them, wouldn't they run one after another, as opposed to all at the same time?

Yes. Traditional programs (i.e. non-forking (I've used the term forking quite liberally here, assume it means anything from an actual fork to a wrapper program)), such as LFS, do not return until they have finished executing. Since batch files work sequentially you cannot run a traditional program without using the start command.
Oh sorry for giving you wrong information then.
k thanks. oh and do i need to start it with @echo off?
What does @echo do?
ohh i learnt that in batch programming. All batch files have to start with @echo off
Quote from master_lfs.5101 :ohh i learnt that in batch programming. All batch files have to start with @echo off

no they don't.

using @ hides the line from the screen during execution (essentially turning echo off for that line). "echo off" turns echoing off for the rest of the batch file.

How do i do this?
(11 posts, started )
FGED GREDG RDFGDR GSFDG