Hi,
I have <date> directory inside backup folder as "D:\files\backup\20130301" and "D:\files\backup\20140302" and so on...
i want to delete the directory which are older than 30 days not based on create time or modified time.
insted based on the directory date like 20130302<30 days then that directory should get deleted along with, if it contain any files.
Can any one please help me to write C# code for this...