【发布时间】:2015-08-11 12:59:21
【问题描述】:
这几天我遇到了有线问题。
通常我只是输入:
shutdown -s -t 123456
但它说这个命令不存在。于是我google了一下,发现:
shutdown /s /t 123456
同样的问题。
我尝试用大写字母或大写 S 来写它,但没有成功。 sys32 中的 shutdown.exe 大小为 34kb。
sfc /scannow
sfc -scannow
也显示同样的错误。
至少 cd 命令仍然有效。我不知道我对我的系统做了什么特别的事情。
有什么想法吗?
【问题讨论】:
-
你破坏了你的系统路径。在命令提示符处键入
set PATH,然后检查条目。你会发现 Windows\System32 不在路径中。 -
Windows 7 上的默认路径应该是 `C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0 `
标签: command-line windows-7 cmd shutdown