Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Command prompt not recognizing commands

08 Jul 2013   #1
ROFLN

Windows 7 Home Premium 64bit
 
 
Command prompt not recognizing commands

Hello.

It seems as if my command prompt will not let me do any simple system commands such as ping, ipconifg, etc. And it will also not let me use commands for my compiler. The paths are set properly in the environment variables, but it still does not work. See the screencap below:

http://i.imgur.com/PTxx3fR.png

I have no idea how this happened. The system has no viruses and is clean. Any help would be appreciated.


My System SpecsSystem Spec
.
08 Jul 2013   #2
UsernameIssues

W7 Pro SP1 64bit
 
 

This is what I see for a path on a fresh install:
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\

Try this from within a cmd prompt:
C:\Windows\System32\ping,exe
My System SpecsSystem Spec
08 Jul 2013   #3
ROFLN

Windows 7 Home Premium 64bit
 
 

The command you have there does indeed work. As does the the default commands such as cd, dir, etc.
My System SpecsSystem Spec
.

08 Jul 2013   #4
UsernameIssues

W7 Pro SP1 64bit
 
 

Then maybe put this in as your path...
Code:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
...and then add your other stuff to the end.

Ping is just an app - not a command per se - like DIR.
My System SpecsSystem Spec
08 Jul 2013   #5
ROFLN

Windows 7 Home Premium 64bit
 
 

That did it! I appreciate your help!
My System SpecsSystem Spec
08 Jul 2013   #6
UsernameIssues

W7 Pro SP1 64bit
 
 

You are welcome.

Please mark the thread as solved.
My System SpecsSystem Spec
Reply

 Command prompt not recognizing commands




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Command Prompt command <ipconfig> not working
when I open up my command prompt and type 'ipconfig' without the ' and press enter it returns the line: 'ipconfig' is nto recognized as an internal or external command, operable program, or batch file I am trying to find out the information I need in order to set up a static IP Address for port...
Network & Sharing
Command Prompt Not recognizing commands.
Hi, I'm super sad because I use CMD a lot but its not recognizing regular commands. I have no idea what to do because im more familiar with Terminal on a Macintosh. Thanks.:eek::D
General Discussion
Start Command Prompt and automatically execute a few commands
I am learning a programming language, and I frequently use command prompt to compile source codes, but every time I start command prompt I need to manually cd to the correct directory, and then I like to run cls to keep the window clean. I have looked around, but I'm not sure how to phrase a google...
Software
Command prompt doesnt recognize commands / cant repair windows
i cant run any commands in command prompt.i have checked a lot of stuff on inet to solve like paths @environment variables etc but i still couldnt solve it.i thought maybe its cuz a system file is missing made a repair disc but couldnt run sfc via command prompt at boot because i got this error...
BSOD Help and Support
Run administrative command prompt from command prompt
Ok So I got myself into a unique bind here. I was trying to install some custom system files (for a theme) and I did it wrong and now I cant open explorer.exe . I dont want to goto a backup because this is a easy fix. (in my view). So I need to know how to run command prompt with administrative...
General Discussion
Running command prompt commands elsewhere...
I am trying to configure RightMark Clock Utility to execute the "start" command when the power source for my computer changes. For example, I would want to run this: start /MIN "" "C:Path\to\Program" I am choosing the start command because it gives me the option to use the /min parameter. ...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:01.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App