How to assign persistent route to windows 98 pc

Posted on 2004-04-28
Last Modified: 2007-12-19

    Dear All,

              I would like to assign persistent staic route to windows 98 machine. I want the route to be updated to routing table after every reboot and this updation should be before i logon to network.

 Priyank Gaddala
Question by:priyankg
  • 5
  • 2
LVL 57

Expert Comment

by:Pete Long
ID: 10940956

basically route print will display the routing table

route add <Network address of destination> mask <subnet mask of destination> <next hop IP> -p

will do the jod
LVL 57

Expert Comment

by:Pete Long
ID: 10940961
-p make it persistant (ie static)
LVL 57

Accepted Solution

Pete Long earned 90 total points
ID: 10941268
My appologies

NOTE : The -p switch is not supported on either Microsoft Windows Millennium Edition-based, Microsoft Windows 98-based, or Microsoft Windows 95-based computers.

in this case you would need to fool the OS into doing it every time it boots

open notepad

put in the following lines

@echo off
route add <network> mask <subnet> <next hop ip>

Save the file (change text files to "all files" on the save as type box and save it as route.bat in the startup folder, that way every time you boot the route is remapped, its a crude workaround but it works.

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.


Expert Comment

ID: 10944150
or even better u can put it autoexec.bat then it would do it b4 windows loads
LVL 57

Expert Comment

by:Pete Long
ID: 10944333
no it wont - protocols are loaded after vxd's in win 9x and route add is a w32 command

Expert Comment

ID: 10944604
ah yes sorry bout that
LVL 57

Expert Comment

by:Pete Long
ID: 10950730
no probs Anthony thanks for trying to help :)

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Connecting Servers to L2 OR L3 Switch 6 68
Setup small office network 1 54
Alot of sessions on a PC is generated 3 76
Network adapter for Windows 7 9 48
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
Internet Business Fax to Email Made Easy - With  eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question