Loop thru the sub-folders and Zip it

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
doodsjr
Posts: 2
Joined: 01 Apr 2009 09:47
Location: Singapore
Contact:

Loop thru the sub-folders and Zip it

#1 Post by doodsjr » 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

doodsjr
Posts: 2
Joined: 01 Apr 2009 09:47
Location: Singapore
Contact:

Found the answers

#2 Post by doodsjr » 09 Apr 2009 12:22

Hi guys,

found the answers for this.

You can request the code. Thanks.

tonsai
Posts: 1
Joined: 23 Apr 2009 04:42

Re: Found the answers

#3 Post by tonsai » 23 Apr 2009 04:47

doodsjr wrote:Hi guys,

found the answers for this.

You can request the code. Thanks.


ok, please cshare the code/solution

Post Reply