View Full Version : can you help me how to empty temp folder with a button click ?
melissa
03-20-2007, 09:24 AM
hi everyone
can you help me how to empty temp folder ( c:/WINDOWS/temp)
with a button click?
thank you
Try this:
File.Delete(_WindowsFolder.."\\Temp\\*.*", true, false, true, nil);
File.Delete(_TempFolder.."\\*.*", true, false, true, nil);
melissa
03-20-2007, 10:40 AM
thank you bule , i will try it and i tell later
melissa
03-22-2007, 09:43 AM
thank you bule the code is working
nals i tryed the code is working for me , try again
Uhh how come i did but not working, what operating sys you have? I ve got win xp pro.
:rolleyes
ops sorry melissa its working, i was looking at the wrong folder, i went and chack C:\Documents and Settings\user\Local Settings\Temp (this folder)
Thank you worm, It works fine.!!!!
how do you delete crrent user internet temp internet files folder? and is there a way to delete internet search history??
:yes
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.