Hi all,

I whant to clear some folder,

1. [Profile]\Local Settings\Temporary Internet Files
2. [Profile]\Local Settings\History
3. [Profile]\Local Settings\Temp
4. [Profile]\Cookies
5. [Profile]\Recent
6. [SystemRoot]\Temp

but windows is blocking those files,
how can i delete those files during startup of a computer ?

i have already create a Batch file that will delete all files for all users,
is there a option to run this befor windows starts ?

Recommended Answers

All 2 Replies

Welcome to the site.......

You can put something in your AUTOEXEC.BAT file and it will clear those files before it gets to desktop........

Here is some info on clearing them ON SHUTDOWN

http://www.codejacked.com/delete-your-temp-files-on-shutdown/

Welcome to Daniweb and good luck!!

Thanks for the help it works now.

Thanks again.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.