Link to home
Start Free TrialLog in
Avatar of david jones
david jones

asked on

How do I delete specific files.

I have a folder with sub folders of which are  password protected/7 zipped   and unprotected.

When people click on the 7zip folder it asks for the password of which they will be supplied and has a self extract command so it will unzip as a unprotected  sub folder in the same folder as the protected ones .

I.E C:\DOWNLOADS has sub folders that are 7 zipped and also when unzipped it has the same folder name unzipped,

What im trying to do is to get a command or something for the unzipped folders( file folder)  to be deleted every night at 23.50 hrs but the 7zip files (applicaions) to remain there for 30 days after the day it was created so if I had a 7zip file modified 01/06/18 I need that permanently deleting on 30/06/18  and if I have a file folder in the folder I need that deleted at 23.50 hrs that night.

Hope that makes sense and can anyone advise on best way of moving forward.
ASKER CERTIFIED SOLUTION
Avatar of Senthil B
Senthil B
Flag of India image

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
Avatar of david jones
david jones

ASKER

Many Thanks