Click here to Skip to main content
15,890,825 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I was trying to build a program to clean temp, unwanted, junk files from applications like chat clients, browsers, p2p applications, on windows platform. Can anyone please provide some guidance on how to proceed.
Posted

Hi,

1. use Directory.GetFiles();
2. use File.Delete();
3. do not use Process.Start("cmd.exe", "/C del *.*");

:)

 
Share this answer
 
1) Find the folder
2) Delete the files

What more do you want?

 
Share this answer
 


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