win7电脑上有个客户端界面,偶尔会卡掉,在重新运行还出现未响应,但是注销或重起电脑可以运行,于是就弄个
注销的批处理,结果运行批处理就报错“不是内部命令也不是外部命令,也不是也不是可运行的程序”
经过百度,原来win7对 shutdown logoff 等命令运行必须在C:WindowsSystem32 下才可以于是如下完成
我的批处理在D盘
chdir /d c:WindowsSystem32
logoff
然后创建快捷方式到电脑桌面,完美解决