Ask the Expert

How can I add a static, persistent route to my Windows 98 PC?

I would like to add a static, persistent route to my Windows 98 machine. The route should get updated to the routing table after every reboot and before I log on to the network. I have tried adding a route command in autoexec.bat, but no luck. How can I accomplish this?

    Requires Free Membership to View

The reason you have been unsuccessful thus far is because when the autoexec.bat file is executed during boot up, the network modules are still not loaded. This means that the PC is still not aware of the network card. Instead, you should create a batch file for the same, and copy it in the startup folder of your PC (located inside the Start MenuPrograms folder). Programs in the startup folder are executed after you log on. At this stage, all the network modules will already be loaded when you log on, and hence all should work fine.

This was first published in June 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: