Discussion Locked

Problem with ROUTE command in batch file

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I need to create a batch file to put into startup that runs the ROUTE ADD command. Problem is the batch file I have made keeps running continuously over and over again without stopping. Its for windows 98 and this is what I have tried.

ROUTE ADD0.0.0.0 MASK 0.0.0.0 192.168.1.100
EXIT

It works so far as it sets the gateway as I want but it keeps going until I do Ctrl C to stop it.
I thought the EXIT command would work, but obviously not.
What am I doing wrong ???

1 reply

by ekb

Your batch file looks fine. It should run continously anyway.

It that only part of the batch file? It might cause by some other command.

This discussion is closed to new replies.