Question:
Command Prompt issues...?
Chris
2011-06-21 09:55:10 UTC
Ok, so i recently got a new laptop. Since i've had it for a while, i have been playing with it for a while. When i open up my command prompt, and i type is a command like..."ipconfig"

The command prompt will say " 'ipconfig' is not recognized as an internal or external command, operable program or batch file." and i was wondering if anyone could help. This message comes up for every command i put it, so i was hopping someone can help.

Hope you can help

Chris
Five answers:
ryan b
2011-06-21 10:06:36 UTC
From a command prompt type "path" - without the quotes. If 'windows\system32' doesn't show, you can add it to the 'path' statement by right clicking on My Computer, selecting Properties and then the Advanced tab. Next, click on the 'Environment Variables...' button. After that highlight the path statement in the lower box and then click the 'Edit' button. Add ';%systemroot%\system32' - without the quotes - to the end of the path statement. You will then have to reboot your PC for the addition to take effect. **Note... your system folder should be windows\system32 assuming someone didnt modify the windows installation.



Also, make sure you're running the cmd.exe program with administrator rights if using Vista/Win7.
Hesaguys
2011-06-21 10:00:43 UTC
To start with ipconfig is not a command, it's an application that one happen to start by typing that command (without the quotes).

I doubt that commands such as DIR, TYPE, ECHO or COPY fails.

What you probably has succeeded in doing is either rename some system folders, delete the needed files (such as ipconfig.exe) or destroyed the PATH in the Environment. I also think ipconfig is one of the tools that doesnt get installed automatically on some versions of Windows so you may need to install some component.

In future you should consider playing around with something else than your computer. :)
Zach
2011-06-21 09:57:20 UTC
Try typing ipconfig without the quotations ;)



or try another command such as dir
Rukiryo
2011-06-21 10:02:15 UTC
The only alternate method I know, is ipconfig/all
2016-11-11 11:03:52 UTC
you ought to use the 8.3 naming convention on that....dont question me why, some perform a little dont, besides... replace it to C:Docume~1DDesktopecho.bat its basically going to close on you nevertheless...., did you place a pause interior the BAT document?


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...