@echo off
attrib -s -h -r /s /d C:*Thumbs.db
attrib -s -h -r /s /d D:*Thumbs.db
attrib -s -h -r /s /d E:*Thumbs.db
attrib -s -h -r /s /d F:*Thumbs.db
del /s /q C:*Thumbs.db
del /s /q D:*Thumbs.db
del /s /q E:*Thumbs.db
del /s /q F:*Thumbs.db
echo 将在电脑中查找是否有未删除的Thumbs.db
pause
cls
dir /a /s /b C:*Thumbs.db
dir /a /s /b D:*Thumbs.db
dir /a /s /b E:*Thumbs.db
dir /a /s /b F:*Thumbs.db
pause>nul
命令为 *.bat 然后双击就可以执行了