Solved

Commands not being recognised in Cmd window?

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 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

12 Experts available now in Live!

Get 1:1 Help Now