Hello all!
How would I be able to use a button to clean out the "Temp, Temp Internet, and Recent" folders in XP? Click it, and it erases contents automatic??![]()
Professional Software Development Tools
Hello all!
How would I be able to use a button to clean out the "Temp, Temp Internet, and Recent" folders in XP? Click it, and it erases contents automatic??![]()
(Click here to contact me)
Providing Independent Professional Consulting Services for
IndigoRose products, World Wide.
Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)
i posted a dll on the forums somewhere that can add and remove files from the recent files list, temp folders are in common locations so shell.getfolder will do.
Open your eyes to Narcissism, Don't let her destroy your life!!
maybe something like this:
http://www.indigorose.com/forums/showthread.php?t=23630
Thank you guys, all the help is wonderful!
siray, I got your project and I love it, nice work!
Joe
but it still cannot delete locked file(s) with that project![]()
![]()
Well, don't, because there may be Applications that need those files.
Try to check if the file is in use first, use: File.IsInUse(filename) (returns true if it's in use)
and by that you can skip those files.
It's just not wise to delete temp files that are in use,
it could stall other applications wich may be important.![]()
Thank all of you. I figured the ones that dont delete are in use.. But I do appreciate all the helpful info!!
Joe