Here's a very useful little program for clearing temp and temporary internet files from all users on a terminal server, or shared workstation. It works from a command prompt by only deleting data from profiles that are not currently in use when the command is executed. You can specify swiches as follows:
- icsweep /tmp to clear temp files.
- icsweep /tif to clear temporary Internet files
- icsweep /all for both