Computing.Net > Forums > Programming > batch files delete secured windows

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

Reply to Message Icon

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.




Sponsored Link
Ads by Google

Response Number 1
Name: Mike Arnett
Date: June 5, 2006 at 08:39:10 Pacific
Reply:

wow, I'm sorry for the trouble. I deserve the "should be wearing a helmet award"

I was trying to delete the folder itself with wild card characters instead of going into the folder and just deleting everything I needed


cd C:\Documents and Settings\profilename\Local Settings\Temporary Internet Files\OLK11
del "GES FORM"*.*
pause


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: batch files delete secured windows

Batch File Deletion Help www.computing.net/answers/programming/batch-file-deletion-help/18983.html

Batch File deleting files by date? www.computing.net/answers/programming/batch-file-deleting-files-by-date/15581.html

Batch file delete file by file name www.computing.net/answers/programming/batch-file-delete-file-by-file-name/16849.html