i search alot on google i found some response but didn't find what i want. what i want is suppose i have 5 files in a folder for the same date same date: 1st file-1mb 2nd file=2mb 3rd file-3mb 4th file-4mb 5th file-5mb
now when i click on my button it will delete all file except 5mb because of its size.
first i want to search files according to date in a folder and next delete all file for that particular date except the file which have the largest size.
i dont want code i want the functinality which can be used in this project. thanks in advance