Jump to content

cjltech

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by cjltech

  1. You will need to make adaptations. The majority of my clients use IE. You would have to set up additional variables that match the paths where firefox and the other browsers store their temp files. Of course you would then need the additional lines to actually go and delete files in those paths.
  2. When trying to go after virusus on other users profiles, I find in somewhat easier to delete their temp files from a fairly unused admin account. I use a batch file to accomplish what everybody wants CCleaner to do. This works great in combination with CCleaner to clean the registry and other stuff. Copy the code below into a text file. rename it something like: cleanxp.bat Cheers! @echo offSET SRC1=C:\Documents and SettingsSET SRC2=Local Settings\Temporary Internet Files\Content.IE5SET SRC3=Local Settings\HistorySET SRC4=Local Settings\TempSET SRC5=Cookiesecho cleaning temporary internet filesFOR /D %%X IN ("%SRC1%\*") DO FOR /D %%Y IN ("%%X\%SRC2%\*.*") DO RMDIR /S /Q "%%Y"echo cleaning historyFOR /D %%X IN ("%SRC1%\*") DO FOR /D %%Y IN ("%%X\%SRC3%\*.*") DO RMDIR /S /Q "%%Y"echo cleaning windows temp filesFOR /D %%X IN ("%SRC1%\*") DO FOR /D %%Y IN ("%%X\%SRC4%\*.*") DO RMDIR /S /Q "%%Y"FOR /D %%X IN ("%SRC1%\*") DO FOR %%Y IN ("%%X\%SRC3%\*.*") DO DEL /F /S /Q "%%Y"FOR /D %%X IN ("%SRC1%\*") DO FOR %%Y IN ("%%X\%SRC4%\*.*") DO DEL /F /S /Q "%%Y"echo cleaning CookiesFOR /D %%X IN ("%SRC1%\*") DO FOR %%Y IN ("%%X\%SRC5%\*.*") DO DEL /F /S /Q "%%Y"del /f /s /q "%windir%\temp"FOR /D %%X IN ("%windir%\temp\*") DO RMDIR /S /Q "%%X"echo done.Pause
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.