Solved

Commands not being recognised in Cmd window?

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

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…
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

813 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

14 Experts available now in Live!

Get 1:1 Help Now