Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
batch files delete secured windows
Name: Mike Arnett Date: June 5, 2006 at 08:29:46 Pacific OS: Windows XP CPU/Ram: i386 Product: HP
Comment:
I am trying to write a batch file that will delete files in a windows secured temp folder.
It is located C:\documents and settings\userprofile\local settings\temporary internet files\OLK*
If you can't see the file using explorer for testing a fix just type in %temp% at the command prompt and go up one level and then go into temp internet files and you should see the OLK folder.
The * is a randomly generated number unique to each machine.
The folder is created when someone uses outlook 2000 to view an attachment.
I've never dealt with secure temp directories before and I'm not sure how I should be going about this.
Summary: Hi, I'm making a batch file that writes your OS version on a .tmp file. Is there a way the batch file can delete the .tmp file when the user closes the batch file using the window? If you give up, ...
Summary: Relates to an ealier post with title: Batch File deleting files by date? HAD TO CHANGE FOLLOWING TO GET WORKING 1. In Line: for /f "tokens=2" %%i in ('date /t') do set thedate=%%i Change tokens=2 to t...