Click here to Skip to main content
15,947,472 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I use system("del") like that I gave.
But it not reading the path.

How do I delete the files under
C:\Documents and Settings\users\Local Settings\Temporary Internet Files

I use DeleteFile() method but it needs the file name.

I am unable to read the file name in that folder.
Posted
Updated 10-Oct-11 21:19pm
v2
Comments
Dalek Dave 11-Oct-11 3:19am    
Tried my best to make it understandable.

1 solution

Have a look at this CP article A Cleanup API for Windows[^].
 
Share this answer
 
Comments
Dalek Dave 11-Oct-11 3:19am    
Nice.
@BangIndia 11-Oct-11 5:51am    
Thanks.. for your help..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900