DOS shell commands won't work

telluoff

Member
commands like dir and cd work,
commands like ping and sort don't work.

I found an old thread referencing the problem and tried them all.
No luck fixing the problem.

Pathing is correct.

Lost.
 

My Computer

System One

  • Manufacturer/Model
    Dell precisiont3400 64 bit
    CPU
    Intel extreme x950
    Memory
    8G
    Monitor(s) Displays
    Asus, Dell
What is the exact path variable?
What is the exact error message (if any) that you get?

Thanks for your question.

C:\Windows\System32\cmd.exe

'command' is not recognized as an internal or external command,
operable program or batch file.
 

My Computer

System One

  • Manufacturer/Model
    Dell precisiont3400 64 bit
    CPU
    Intel extreme x950
    Memory
    8G
    Monitor(s) Displays
    Asus, Dell
You didn't answer the question, what is your PATH variable set to. Enter path from the Command Prompt to see.

Also, from the Command prompt, enter

reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options"

See if there is an entry for cmd.exe. If yes, use regedit to delete it.
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro X64
    Manufacturer/Model
    Lenovo IdeaCenter K450
    CPU
    Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz, 3401 Mhz, 4 Core(s)
    Memory
    16GB
    Graphics Card(s)
    NVIDIA GeForce GTX 750, Intel(R) HD Graphics 4600
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    Samsung 27" C27F398 Curved Monitor
    Screen Resolution
    1920 x 1080 (HDMI)
    Hard Drives
    Samsung SSD 840 EVO 250GB
    Seagate ST2000NM001 2TB
    Seagate ST31500341AS 1.5TB
    PSU
    500W
    Keyboard
    Dell USB
    Mouse
    Lenovo USB
    Internet Speed
    50MB Down, 10MB Up
  • Operating System
    Windows 7 Pro X64
    Manufacturer/Model
    HP xw4400 Workstation
    CPU
    Intel Pentium D Dual 3.4Ghz
    Motherboard
    HP 0A68h
    Memory
    5GB
    Graphics card(s)
    ATI FireGL V3300
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    Acer KN242HYL 24" (KVMS)
    Screen Resolution
    1920X1080
    Hard Drives
    Seagate ST3120026As 120GB SATA (boot)
    Toshiba DT01ACA200 2TB SATA
    Mouse
    Logitech via KVMS switch
    Keyboard
    Dell USB via KVMS switch
    Internet Speed
    50 Down, 10 Up
    Other Info
    Apache Web Server since 2001
Sorry, I was unable to get back to this problem for a while.

I found the solution. I had extension paths in both the system and user variables. This confused the system to the point that it only used the user pathext variable. Once I combined all extension paths in the system variable pathext, it understood the requirements of the cmd.ext.

Thanks for all your help.
 

My Computer

System One

  • Manufacturer/Model
    Dell precisiont3400 64 bit
    CPU
    Intel extreme x950
    Memory
    8G
    Monitor(s) Displays
    Asus, Dell
Sorry, I was unable to get back to this problem for a while.

I found the solution. I had extension paths in both the system and user variables. This confused the system to the point that it only used the user pathext variable. Once I combined all extension paths in the system variable pathext, it understood the requirements of the cmd.ext and everything worked.

Thanks for all your help.
 

My Computer

System One

  • Manufacturer/Model
    Dell precisiont3400 64 bit
    CPU
    Intel extreme x950
    Memory
    8G
    Monitor(s) Displays
    Asus, Dell
Back
Top