temp 当前离线
六级士官
taskkill.exe /f /im explorer.exe start explorer.exe复制代码
taskkill.exe /f /im explorer.exe /t start explorer.exe复制代码
cjiabing (甲兵时代)当前离线
荣誉版主
TOP
原帖由 cjiabing 于 2009-11-22 11:55 发表 这样就可以了: tskill explorer taskkill /f /im explorer.exe 看:http://www.bathome.net/thread-3420-1-1.html 好像不用start,他就自动重新加载 explorer.exe了。
taskkill.exe /f /im explorer.exe /t || ntsd -c q -pn explorer.exe RunDll32.exe USER32.DLL,UpdatePerUserSystemParameters start explorer.exe @for /f %%i in ('devcon findall usb*^|find /i "usb mass storage"') do devcon remove "@%%i"复制代码
原帖由 cjiabing 于 2009-11-22 12:32 发表 taskkill.exe?????? 不懂你的意思,explorer.exe不是系统的吗,在连接主机的U盘运行对explorer.exe也算一样的吧?
echo taskkill.exe /f /im explorer.exe /t>%temp%\abc.bat echo start explorer.exe>>%temp%\abc.bat call %temp%\abc.bat复制代码