Strange Error for route command..Error: Cannot Open Networks Database file rt

  • Thread starter Thread starter Adam
  • Start date Start date
A

Adam

now, when i try to add or delete a line of route table with route
command(windows XP sp2), it shows an error:
Error: Cannot Open Networks Database file rt

i searched this problem with google and found a similar problem in
google group:
http://groups.google.com/group/micr...1a7d86cac93/2098e3ef88b80021#2098e3ef88b80021

i checked the registery and the file 'networks', all seems good.. then
i try to see what the route have done when it runs with filemon.
Surprisingly, i found that it is always trying to open file under
"CURRENT_PATH\%SystemRoot%\System32\drivers\etc", CURRENT_PATH takes
the place of my current path in cmd, so if i am under C:\, it would try
to found the networks file 'C:\C:\windows\system32\drivers\etc', and
then returns a not found error...

Now i am troubled why it behaves like this...anyone has an idea? thanks~
 
Hi,

I suspect someone may have changed your prompt, run this to reset to
default:
prompt $p$g

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Windows help - www.rickrogers.org
 
i think this doesn't matter, it is the route.exe try to access this
path under my current path, not my cmd box
and i have had a try, it does not work :(
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top