What type of data are you trying to remove? (just files? files and other possible settings?)
What version of windows is your work PC using?
Do you have local admin to your Work PC? I'm going to guess yes on that one
If all you're trying to clear out the Internet Explorer cache, theres a setting for this in...
Internet Explorer > Tools > Internet Options > Advanced Tab > Under Security: Empty Temporary Internet Files when IE is closed
If you need to also remove files from other folders, you can use a batch file to do this.
- Navigate to a folder, any will do, but one in your profile would be best...
- (i.e. C:\documents and settings\<user>\Local settings)
- Click "File" > "New" > "Text Document"
- Rename this file to sd.bat (or whatever you like .bat)
- I'll give you a sample of what each line might look like
del C:\Windows\Temp\* /s /q /f
del "C:\Documents and Settings\Zoultan\Local Settings\Temporary Internet Files\*" /s /q /f
del "C:\Documents and Settings\Zoultan\Local Settings\Temp\*" /s /q /f
- If a folder path has spaces in it, encase just the path in double quotes as i've done above
- Make sure you want all 3 switches i've put up there. I describe them below
the /s switch , tells it to delete all files in that directory *and* ALL subdirectories below it .. be careful!
the /q switch, tells it not to ask for confirmation
the /f swtich, tells it to go ahead and remove readonly files
- Save/Exit and continue.
- Now, alll we need to do is configure your shutdown script, to run this batch file.
- Start
- Run
- gpedit.msc
- Navigate to Configuration > Windows Settings > Scripts > Shutdown
- Click add, find your .bat file, and you should be set.
If you need other things removed, please feel free to let us know, and it quite possibly could be added to the batch file in some way.
Not Googled by...
- Zhoul