Wikiposts
Search
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

DOS Commands under XP Pro

Thread Tools
 
Search this Thread
 
Old 5th Feb 2005, 23:26
  #1 (permalink)  

Official PPRuNe Chaplain
Thread Starter
 
Join Date: Apr 2001
Location: Witnesham, Suffolk
Age: 80
Posts: 3,498
Likes: 0
Received 0 Likes on 0 Posts
DOS Commands under XP Pro

For many a year, I've had an "automatic" backup routine on my PC. The most recent version copies my important stuff to a hard drive on the server up in the attic. The previous version (also still used for "belt and braces") copies to a large separate hard drive on the main PC.

I discovered to my horror the other day that neither of these two has been working for some time. Fortunately, nothing important is lost.

It took me a lot longer to find out why this is so. If I opened a "DOS box" (I know they aren't called that under XP, but you know what I mean) and typed almost any command, even "help", I'd get an error message. Only a very few commands worked.

The problem is that XP has moved chunks of the key stuff to CWindows\System32 where it used to be in CWindows\Command.

Only a little change, but XP on my machine hadn't updated the "PATH=" statement to include System32, so it can't find itself. The first line of my batch files is now a PATH= statement, and they work fine.

I wonder if I should edit that thing called AUTOEXEC.BAT?

I pass this on, in case anyone else has had the problem and is wondering what's up.
Keef is offline  
Old 7th Feb 2005, 07:56
  #2 (permalink)  
 
Join Date: Jun 2001
Location: Bristol,UK
Posts: 225
Received 10 Likes on 7 Posts
Try right clicking 'my computer' select properties, select advanced, select environment variables and look for path in there.
under_exposed is offline  
Old 7th Feb 2005, 13:03
  #3 (permalink)  

Official PPRuNe Chaplain
Thread Starter
 
Join Date: Apr 2001
Location: Witnesham, Suffolk
Age: 80
Posts: 3,498
Likes: 0
Received 0 Likes on 0 Posts
Hmmm - interesting. Hadn't been there before. There's no PATH in there, though.

However, editing AUTOEXEC.BAT and ,DOS to include cWindows\System32 in the path has fixed the problem, and my backup batch files work again like a dream.
Keef is offline  

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.