Batch file to delete files older than 30 days on share drive
I want to create a simple batch file that will run on WinAT to find any files on an specific share name and delete any files older than 30 days.
As an example, I have a share name such as \\server1\share\abc. I want anything files older than 30 days to be deleted on the abc folder.
I use WinAT to run batch files so this will be running on the actual server where this share is. By adding a batch file it will delete anything older than 30 days. All suggestions on knowlege base does not give me a straight answer such as type this in on WinAT and let it rip. PLEASE HELLLLPPPP.