Delete older folders

Delete older folders

Dear Team,

Delete older folder files will be very useful for us. can u at least share a script which your using for deleting older files so that i can mannualy run a script to delete older folders.

Note: i wrote a script which runs fine when i run on local machine , but when i run on opmanager it says "path not found" , "disk not ready"


i am attaching script ., please please help

                New to ADSelfService Plus?