Because there are often some files that cannot be deleted, but closing the explorer process and then opening it again can delete them. So I want to write a bat command that directly closes explorer and then opens it again. The way I wrote is:
ntsd -c q -pn explorer.exe
c:\windows\explorer.exe
exit
But I found that what is opened is the Windows Explorer. When I use the task manager to open explorer, the Windows Explorer is not popped up. Also, the exit seems not to exit the cmd. How to solve these two problems, thank you;)
[ Last edited by willsort on 2006-5-24 at 00:51 ]
ntsd -c q -pn explorer.exe
c:\windows\explorer.exe
exit
But I found that what is opened is the Windows Explorer. When I use the task manager to open explorer, the Windows Explorer is not popped up. Also, the exit seems not to exit the cmd. How to solve these two problems, thank you;)
[ Last edited by willsort on 2006-5-24 at 00:51 ]
