mi sa che hai ragione tu... cancello a mano, per gli index.dat mi arrangio in qualche modoOriginariamente inviato da Andrea1979
qualcosa del genere?
Anche se onestamente non mi piace molto questo genere di script (preferisco cancellare a manina dove e quando serve)codice:IF "%OS%"=="" GOTO WIN9X @REM - FIND "Documents And Settings" FOLDER: %SYSTEMDRIVE% CD %USERPROFILE%\.. FOR /D %%F IN (*.*) DO DEL /F/S/Q "%%F\Recent\*.*" FOR /D %%F IN (*.*) DO DEL /F/S/Q "%%F\Impostazioni locali\Temp\*.*" FOR /D %%F IN (*.*) DO DEL /F/S/Q "%%F\Cookies\*.txt FOR /D %%F IN (*.*) DO DEL /F/S/Q "%%F\Impostazioni locali\Temporary Internet Files\*.*" DEL /F/S/Q %WINDIR%\Temp\*.* DEL /F/S/Q %WINDIR%\*.tmp cleanmgr /sageset:1 cleanmgr /sagerun:1 TASKKILL /F /IM explorer.exe cd /d c:\ attrib +a -s -h -r thumbs.db /s del /s /f thumbs.db attrib +a -s -h -r *.tmp.log /s del /s /f *.tmp.log attrib +a -s -h -r "%userprofile%\Application Data\Microsoft\Office\Recent\*.*" del /f /q "%userprofile%\Application Data\Microsoft\Office\Recent\*.*" attrib +a -s -h -r *.gid /s del /s /f *.gid attrib +a -s -h -r *.fts /s del /s /f *.fts attrib +a -s -h -r *.cnt /s del /s /f *.cnt attrib +a -s -h -r *.old /s del /s /f *.old attrib +a -s -h -r *.diz /s del /s /f *.diz attrib +a -s -h -r *.bak /s del /s /f *.bak attrib +a -s -h -r *.tmp /s del /s /f *.tmp attrib +a -s -h -r *.chk /s del /s /f *.chk attrib +a -s -h -r *.dmp /s del /s /f *.dmp attrib +a -s -h -r *.00? /s del /s /f *.00? attrib +a -s -h -r index.dat /s del /s /f index.dat attrib +a -s -h -r fw*log.txt /s del /s /f fw*log.txt attrib +a -s -h -r zalog*.txt /s del /s /f zalog*.txt attrib +a -s -h -r backup*.rdb /s del /s /f backup*.rdb start explorer.exe :GOTO END :WIN9X REM - WIN9X systems are currently not supported. :END

Rispondi quotando