Hi All,
I'm trying to write a script that'll delete files based on their age from multiple specific directories.
I'll outline it below
Go to N:\Directory\Dir1\Directory\Directory and delete any files older than 10 or so days old
then go to
N:\Directory\Dir2\Directory\Directory and do the same delete
then progress to the next one
N:\Directory\Dir3\Directory\Directory and do the same delete
As you can see the path is always the same except of the second directory.
I've been successful in deleting files older than a certain date but I can't make it go through the directories
Let me know if I haven't made myself clear
Any help?
I'm trying to write a script that'll delete files based on their age from multiple specific directories.
I'll outline it below
Go to N:\Directory\Dir1\Directory\Directory and delete any files older than 10 or so days old
then go to
N:\Directory\Dir2\Directory\Directory and do the same delete
then progress to the next one
N:\Directory\Dir3\Directory\Directory and do the same delete
As you can see the path is always the same except of the second directory.
I've been successful in deleting files older than a certain date but I can't make it go through the directories
Let me know if I haven't made myself clear
Any help?