also @ TechSpot: Windows 7 overtakes Vista among enthusiasts, plus other interesting trends
Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Login to participate.

Go Back   TechSpot OpenBoards > Operating Systems and Software > Windows OS

Command Prompt commands don't work

Closed Thread
Bookmark Thread Tools
  #1  
Old 04-24-2008
Newcomer, in training
 
Member since: Apr 2008, 2 posts
Command Prompt commands don't work

It seems that every time I try to use a command that isn't dir or cd, I get a message like this.

C:\>tracert windows.com
'TRACERT' is not recognized as an internal or external command,
operable program or batch file.

C:\>pathping windows.com
'PATHPING' is not recognized as an internal or external command,
operable program or batch file.

Any help at all would be appreciated
  #2  
Old 04-24-2008
LookinAround's Avatar
TechSpot Evangelist
 
Location: Chicago-land, IL
Member since: Apr 2007, 4,087 posts
Could be one of two things

1. Verify pathping and tracert are in C:\Windows\system32. You can either cd to the directory or just use Windows Explorer. If missing the best approach is running a Windows tool called System File Checker. Tell me which Windows version you're using.

2, Check your PATH variable. At the command prompt > type PATH. Hit enter. You should see a series of directories seperated by semicolons, One directory should be C:\Windows\system32

e.g. the result of PATH on my computer is
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Microsoft SQL Bin\;C:\Program Files\ESTsoft\ALZip\;C:\Program Files\Tools\cmdTools\;C:\Program Files\Windows Resource Kits\Tool
To remove this ad, sign in. To register for a new account, click here.
  
  #3  
Old 04-24-2008
Newcomer, in training
 
Member since: Apr 2008, 2 posts
Thanks I will try those things.


Also, I'm running xp
  #4  
Old 04-24-2008
LookinAround's Avatar
TechSpot Evangelist
 
Location: Chicago-land, IL
Member since: Apr 2007, 4,087 posts
if those files are missing (which would be odd in itself) you want to run System File Checker but it may ask you for your XP install disk. At the comand prompt enter sfc /scannow

see: Description of Windows XP and Windows Server 2003 System File Checker
  #5  
Old 04-25-2008
jobeard's Avatar
TechSpot Evangelist
 
Location: Southern Calif.
Member since: Apr 2005, 8,128 posts
Quote:
Originally Posted by LookinAround
2, Check your PATH variable. At the command prompt > type PATH. Hit enter. You should see a series of directories seperated by semicolons, One directory should be C:\Windows\system32
this is the typical problem. for naive users, it's likely to be desirable to avoid this,
but it sure helps to have the tools from system32\* when trying to fix problems
Closed Thread

Thread Tools


Similar Topics
Topic Category Replies Last Post
Installing 98 on old PC, no command prompt Windows OS 5 09-23-2007 07:06 PM
Command prompt The Alternative OS 1 09-09-2007 08:04 AM
Command prompt problem? Virus and Malware Removal 1 09-05-2007 07:51 PM
Command Prompt on Startup?!? Windows OS 1 03-14-2007 01:55 PM
Command prompt doesn't work Windows OS 8 04-28-2006 04:54 PM


All times are GMT -4. The time now is 04:31 PM.