Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 9067

Can't open command prompt or run any .bat files

$
0
0

On my Windows 10 PC I'm trying to open a command prompt but nothing happens, regardless of how I try to do it. Trying from the start menu, from the actual .exe in C:\Windows, from Win+X menu, etc. Nothing works. I also can't run any .bat files. Powershell works properly, but if I try to run a .bat file in Powershell, nothing happens again.

Additionally, running cmd from Powershell prints

Microsoft Windows [Version 10.0.19045.3324](c) Microsoft Corporation. All rights reserved.

but doesn't open a command prompt instance, just immediately terminates the command (no error message is printed to Powershell). Likewise, if I run cmd /C echo hi in Powershell, nothing is printed and no command prompt instance is created.

I've tried various disk-checking solutions and the like, such as sfc, chkdsk and similar, and I'm running a full virus scan at the moment, however none of these have been successful.

Short of reinstalling Windows, what else can I try in order to restore cmd functionality?


Viewing all articles
Browse latest Browse all 9067

Trending Articles