March 29, 2008

Skip Navigation LinksIrocon > Blog > 2008 > March, 2008 > March 29, 2008

Script to Delete Temporary Internet Files

This script will populate %%B with the usernames held within the 'c:\Documents and Settings' directory.  The DO statement deletes all users temporary internet folder contents.FOR /D %%B IN ("c:\Documents and Settings\*") DO del "%%B\Local Settings\Temporary Internet Files\*.*"  /s /q /f Unlike the temporary Internet files, there isn't an obvious way to limit the size ofLast Updated:Thursday, September 02, 2010By:alfero#