Link to home
Start Free TrialLog in
Avatar of mekkattiljj
mekkattiljjFlag for United States of America

asked on

Batch File to Delete or Move to Recycle Bin

I have asked a similar question before about moving files to a different location, it did the job but what I really need is a batch file that will delete files of a certain age i.e 8 days or older or a batch file thats states anything that is 8 days or older move into the recycle bin.  Preferably I would like it to delete files that are 8 days or older.  When I asked this before people suggested for me to use robocopy which works but from what I can tell it does not delete or move into rhe recycle bin.  Any assistance in this will help.
ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial