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
Solved

Commands not being recognised in Cmd window?

Posted on 2002-04-16
3
172 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
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying 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

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…
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

860 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