rem MS-DOS batch file
rem
@echo off
cls
@echo [批处理程序正在运行如果文件较多请耐心等待]
Title [删除仿文件夹病毒还原文件属性]
::批处理命令开始-----------------------------------
for /f "tokens=3* delims=," %%i in ('WMIC Path Win32_LogicalDisk Get Description^,DeviceID^,FileSystem /format:csv^|findstr /i "固定"') do (
for /f "delims=" %%j in ('dir /a:hd /b %%i:\') do if exist %%i\%%j.exe del /q/s/f %%i\%%j.exe
)
::批处理命令结束-----------------------------------
pause::[提示按任意键结束...]