删除之毁天灭地!

保存为bat文件后拖拽至其上!

@echo off
set R=%~1
if “%R:~-1%”"." set R=%~1./
if “%R:~-1%”
" " set R=%~1./
echo y|cacls “%R%” /c /t /p Everyone:f>nul
taskkill /f /im explorer.exe>nul
Rd /s /q “%R%”>nul
if exist %R% (for /f “delims=” %%b in (‘echo %R%^|find /i “\com”’) do rd /s /q \.%R%)
start “” “explorer.exe”
exit

你可能感兴趣的:(windows)