Solved

Commands not being recognised in Cmd window?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Note: This is the second blog post in a series on email clearinghouses (https://www.xmatters.com/alert-management/blog-email-has-failed-us?utm_campaign=70138000000ydLoAAI&utm_source=exex&utm_medium=article&utm_content=blog-post).   Every month t…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

911 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now