Loop thru the sub-folders and Zip it
Posted: 01 Apr 2009 10:17
Hi,
I want to create the batch script that will loop thru the subfolders and zip it that is older that 30 days.
Subfolders are named as "20080101", "20080102" etc..., inside the subfolders there are files, the script should not get the date stamp to compute the for the no. of days, but thru the folder name ("20080101").
Ex:
Folder name = "20080101" - todays date, if it's more than 30 days then, zip it.
Anybody could help me please....
Thanks,
Doodsjr
du754@yahoo.com
I want to create the batch script that will loop thru the subfolders and zip it that is older that 30 days.
Subfolders are named as "20080101", "20080102" etc..., inside the subfolders there are files, the script should not get the date stamp to compute the for the no. of days, but thru the folder name ("20080101").
Ex:
Folder name = "20080101" - todays date, if it's more than 30 days then, zip it.
Anybody could help me please....
Thanks,
Doodsjr
du754@yahoo.com