Solved

Commands not being recognised in Cmd window?

Posted on 2002-04-16
3
176 Views
Last Modified: 2010-04-13
Simple commands are not being recognised such as 'ipconfig' or even 'help' in the cmd.exe from the c:\> prompt. Even when logged on as adminstrator!
0
Comment
Question by:Lemonkid
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 100 total points
ID: 6944571
You have a problem with your PATH.  It doesn't matter how simple or complex these commands are. What matters is whether or not CMD.EXE knows how to find them.

In W2K these commands are normally in <WINDIR>\SYSTEM32 so you'll want to make sure that something like "C:\WINNT\SYSTEM32" is in your PATH.  Some poorly behaved installations "fix" your PATH and break things.

Go to your "My Computer" properties, and the ADVANCED tab and click the "Environment Variables" button. Check the PATH variable for BOTH user and system.  It should have your SYSTEM32 path in there somewhere.  Also verify that none of the paths in the string are "dead" as in a missing drive.  This can cause the search to fail.
0
 
LVL 7

Expert Comment

by:jmiller47
ID: 6948987
You can also try going to a command prompt and typing:

ECHO %PATH%

I think that will work also and report back all paths avaialble.

There was a post a little while ago that some software overwrote the path in the autoexec.bat. You may want to take a look at that.
0
 

Author Comment

by:Lemonkid
ID: 6977033
Nice one dude!
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

628 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