如何使用批处理关闭explorer进程然后马上让其重新运行?

来源:百度知道 编辑:UC知道 时间:2024/06/15 08:35:35
如何使用批处理关闭explorer进程然后马上让其重新运行?
求 批处理语言内容!
谢谢大家的帮忙!

试试我的:(我经常用这个功能的,这就相当于刷新桌面)

@echo off
taskkill /f /im explorer.exe
start explorer.exe
exit

看我的.

cmd.exe /c %systemroot%\system32\wbem\wmic.exe PROCESS WHERE NAME="explorer.exe" DELETE & start "" %systemroot%\explorer.exe

测试过了.

taskkill /f /im explorer.exe
start "" "c:\windows\explorer.exe"

taskkill /f /im c:\windows\explorer.exe
start c:\windows\explorer.exe