glouiseI am trying to replace some of the old "Bat" files that we use to delete, copy and update data files and I was wondering if the Keseya script command "delete file" allows me to delete an entire directory structure or is this limited to ONE file at a a time. Any suggestions?
far182Its very easy to create a script that does what you want. Do an execute shell command. del c:\mypath\*.* /s
HunsakerOk. I have a sub question about this.
I have an ftp site that people upload and forget files on here constantly.
Can anyone help with a script that will search a root folder (named data) and all subfolders (underneath data folder) to delete any files that are older then say 30 days from the date the script is run?
So if i run it once a month, i would like it to check all folders and delete any file older than today's date.
Anyone have something like this already before i research any more?