command prompt dosn't work

baudits

New member
Local time
5:24 PM
Messages
4
hello

My command prompt somehow dosn't seem to work like i want it to. E.g. I want to enable the administrator account. So i type: net user administrator /active:yes
Or i type ipconfig /all or getmac to get the mac address.

No matter what command i type i get the message: 'something' is not recognized as an internal or external command, operable program or batch file

I tried to run command prompt both admin and as common user.

Have anyone any suggestion for what i can do?

Thanks.

-baudits
 

My Computer

OS
windows 7
You get this error only when you don't type it correctly. Try typing simple commands like diskpart or ipconfig and check what comes up.
 

My Computer

Computer Manufacturer/Model Number
Samsung NP530U4B-S02IN
OS
Windows® 8 Pro (64-bit)
CPU
Intel® Core™ i5 Processor 2467M (1.60GHz, 3MB L3 Cache)
Motherboard
Samsung Electronics
Memory
6GB DDR3 System Memory at 1,333MHz (on BD 4GB + 2GB x 1)
Graphics Card(s)
AMD Radeon™ HD7550M 1GB DDR3 (Ext. Graphic)
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
35.56cm (14.0) SuperBright 300nit HD LED Display
Screen Resolution
1366x768
Hard Drives
1TB S-ATA II Hard Drive (5400RPM) with ExpressCache 16GB SSD
Internet Speed
sucks
Antivirus
Microsoft Security Essentials
Browser
Google Chrome (Sync enabled)
I'd suggest a sfc /scannow, but I don't think that will work in this case. :p

You may need to do a repair install. You should also check for malware using Malwarebytes.
 

My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional x64
CPU
Intel i7 2600K OC'd @ 4620 MHz
Motherboard
Asus P8Z68-V Pro
Memory
16GB GSkill Sniper 2133 Mhz (4x4GB)
Graphics Card(s)
EVGA GeForce GTX 480 SuperClocked+
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
2x Acer S273HLbmii 27"
Screen Resolution
2 x 1920x1080
Hard Drives
64GB Crucial M4 SSD

Storage: Hitachi 1TB 5400RPM, Samsung 1.5TB 5400RPM
PSU
Corsair HW Series 750w (modular)
Case
Cooler Master HAF 932 Advanced Blue Edition
Cooling
CM Hyper 212+ CPU cooler, 3x 230mm + 1x 140mm case fans
Keyboard
Logitech MK320 (wireless)
Mouse
Logitech MK320 (wireless)
Internet Speed
30 Mb/s : 2 Mb/s

My Computer

Computer Manufacturer/Model Number
NVIDIA
OS
Windows 7 Enterprise x64
CPU
AMD Athlon 64X2 Dual Core 3800+
Motherboard
GeForce 6100-M9
Memory
OCZ Platinum Dual Channel - 4x1Gb
Graphics Card(s)
NVIDIA GeForce 8800 GT PCI Express x16
Sound Card
Creative Audigy Sound Blaster Extreme PCI
Monitor(s) Displays
Compaq 7500
Screen Resolution
1024x768
Hard Drives
C: Seagate ST3250318AS SataII - 250Gb

D: Seagate ST3500418AS SataII - 500Gb
PSU
OCZ 600w Dual 12v Rails
Case
Thermaltake
Cooling
OCZ Heatsinks, Fans, and Thermal Paste on CPU & Chipsets
Keyboard
Logitech
Mouse
Radio Shack PS2
Internet Speed
Cable
Other Info
Dual Pioneer DVD/RW optical drives. LG CD/RW optical drive.
To Dinesh: I do type in correct commandos
To Jonathan_King: Yeah it will not work because i can't use command prompt.

System specs:
OS: Windows 7 64-bit
CPU: AMD Phenom 9500 Quad-Core Processor 2.20 Ghz Agena 65nm Technology.
RAM: 3 GB Dual Channel DDR2 333 Mhz
Motherboard: MedionPC MS-7501
Graphics: 256 Geforece 9500 GT (MSI)
Harddrive: 488GB Western Digitail

I haven't run malvarebytes yet
 

My Computer

OS
windows 7
I now did the quickscan with malwarebytes. It didn't find anything.
Why should my OS all of a sudden be corrupted?
 

My Computer

OS
windows 7
As a test could you: create a new account (with full admin privileges) and see if that makes any difference.
 

My Computer

OS
Windows XP - Now Windows 7 Home Premium (64-bit).
Click on Start button and type "sysdm.cpl" without quotes in the Run or search box. Alternatively, click on "System" icon in control panel.

In the window that opens up, Select the "Advanced" tab and then click "Environment Variables".
In the system variables panel at the bottom, choose "Path", then click the "Edit" button.

Edit the variable value. It is a long string separated by semicolons. Make sure the executable file’s location is one of the entries on this string. For commands like ipconfig, getmac etc., it is the system32 folder. If it is not there, just add the path entry of C:/windows/system32.

Also make sure that the relevant exe file like ipconfig.exe or getmac.exe are actually present in the system32 folder.
 

My Computer

Computer Manufacturer/Model Number
Too many to describe...
OS
Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
Or perhaps try a system restore.
 

My Computer

Computer Manufacturer/Model Number
Samsung NP530U4B-S02IN
OS
Windows® 8 Pro (64-bit)
CPU
Intel® Core™ i5 Processor 2467M (1.60GHz, 3MB L3 Cache)
Motherboard
Samsung Electronics
Memory
6GB DDR3 System Memory at 1,333MHz (on BD 4GB + 2GB x 1)
Graphics Card(s)
AMD Radeon™ HD7550M 1GB DDR3 (Ext. Graphic)
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
35.56cm (14.0) SuperBright 300nit HD LED Display
Screen Resolution
1366x768
Hard Drives
1TB S-ATA II Hard Drive (5400RPM) with ExpressCache 16GB SSD
Internet Speed
sucks
Antivirus
Microsoft Security Essentials
Browser
Google Chrome (Sync enabled)
I did this:

" Click on Start button and type "sysdm.cpl" without quotes in the Run or search box. Alternatively, click on "System" icon in control panel.

In the window that opens up, Select the "Advanced" tab and then click "Environment Variables".
In the system variables panel at the bottom, choose "Path", then click the "Edit" button.

Edit the variable value. It is a long string separated by semicolons. Make sure the executable file’s location is one of the entries on this string. For commands like ipconfig, getmac etc., it is the system32 folder. If it is not there, just add the path entry of C:/windows/system32.

Also make sure that the relevant exe file like ipconfig.exe or getmac.exe are actually present in the system32 folder."

It didn't help me.


I will look into some of your other suggestions when i got some more time. I will post what i figure out by then. Thanks
 

My Computer

OS
windows 7
I was getting the same error: "'sfc' is not recognized as an internal or external, operable program or batch file." when I tried to run sfc in a Run as Administrator cmd prompt.
Got it working by typing "sfc.exe /scannow" instead of "sfc /scannow".
Not sure why my system needs the extension, maybe because I disabled the built-in search??
I have Windows 7 Pro(64)
 

My Computer

OS
Windows 7 Pro x64
when you add .exe to all commands it works?
command:

dir

works?? (so without .exe)
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
in command prompt
Code:
echo %pathext%
post output
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
Ones that I have tried and NOT a complete list:
Works without extensions:
dir
exit
cd

Needs the extensions:
attrib.exe
sfc.exe
Chkdsk.exe

[I'm not going to check 'format']
 

My Computer

OS
Windows 7 Pro x64
Ones that I have tried and NOT a complete list:
Works without extensions:
dir
exit
cd

Needs the extensions:
attrib.exe
sfc.exe
Chkdsk.exe

[I'm not going to check 'format']
in command prompt

Code:
echo %pathext%
post output
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
.com;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh;.msc
My output:

C:\Users\MyName>echo %pathext%
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC

Did you change it in purpose? I don't hope so
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
No I didn't change it. That is what came up.
Maybe some malware??
 

My Computer

OS
Windows 7 Pro x64
No I didn't change it. That is what came up.
Maybe some malware??
Open regedit.exe and search for key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

In the right pane you see something named PATHEXT. Doubleclick on it

.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC

Should be in it. So add
.EXE;
in the right place. Nou click OK and exit regedit. Now logoff and logon. Now it should work. Does it? If not show me echo %pathext% output again
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
Back
Top