Page 1 of 1

Loop thru the sub-folders and Zip it

Posted: 01 Apr 2009 10:17
by doodsjr
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

Found the answers

Posted: 09 Apr 2009 12:22
by doodsjr
Hi guys,

found the answers for this.

You can request the code. Thanks.

Re: Found the answers

Posted: 23 Apr 2009 04:47
by tonsai
doodsjr wrote:Hi guys,

found the answers for this.

You can request the code. Thanks.


ok, please cshare the code/solution