1.

Solve : Multiline Batch Files?

Answer»

Hey guys, just a quick question, how do you do more than one line in a batch FILE (i.e. one command after another etc.) I just got no idea. ThanksWhat exactly is it your trying to do? Usually you can just do something like this...And it will work fine.

Example:
Code: [Select]echo hello
echo world
pause
exit

Just try putting one command after the other on a seperate line and see if that works if not post back.
Hope that HELPS .

8-)fffreakthats what i tried before, and it didn't work, which is why I posted here. for example pinging an IP, then putting tracert on the next line - it will only do the first of those commands.Rather than working in the DARK, PLEASE post your file. It may be a simple MATTER of where the next sequential instruction is coming from.

8-)Never mind, I seem to have got it working



Discussion

No Comment Found