win8电脑 命令行中不能执行直接执行exe了!
以前都是好好的,现在 非要加exe才能执行, 如:
D:\soft>java
'java' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
D:\soft>java.exe
Usage: java [-options] class args...
or java [-options] -jar jarfile args...
where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.
-cp
又如:
D:\soft>notepad
'notepad' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
D:\soft>notepad.exe
D:\soft>
这是怎么回事啊, 真是急死我了, 奇了怪了。是注册表问题没??
ps , 不是 path , classpath 的问题, 这些我都排查过, 都不能解决