I have another question for everyone:
Under a parent directory var there are 3 folders: var-2007-15 var-2007-16 var-2007-17
Here, the var in the folder name and 15, 16, 17 (weeks) are all variables.
VAR can take several values: BT, BP, AC, AV, TT, FCP, and the week variable is known as %week%.
Now I want to make ZIP compressed backups of the three subdirectories separately. I hope to first determine var and enter the corresponding directory, then determine the folder name var-2007-week number (week numbers 15, 16, 17.....), and perform the corresponding operation.
For example: if Var=BP and week number=15, then enter the BP\BP-2007-15 folder for compressed backup. If Var=BP, week number=16, then go to BP\BP-2007-16 for compression.
If Var=TT and week number=17, then back up the TT\TT-2007-17 folder.
How can this be done? Thanks, everyone
[ Last edited by Dana on 2007-4-22 at 09:32 PM ]
Under a parent directory var there are 3 folders: var-2007-15 var-2007-16 var-2007-17
Here, the var in the folder name and 15, 16, 17 (weeks) are all variables.
VAR can take several values: BT, BP, AC, AV, TT, FCP, and the week variable is known as %week%.
Now I want to make ZIP compressed backups of the three subdirectories separately. I hope to first determine var and enter the corresponding directory, then determine the folder name var-2007-week number (week numbers 15, 16, 17.....), and perform the corresponding operation.
For example: if Var=BP and week number=15, then enter the BP\BP-2007-15 folder for compressed backup. If Var=BP, week number=16, then go to BP\BP-2007-16 for compression.
If Var=TT and week number=17, then back up the TT\TT-2007-17 folder.
How can this be done? Thanks, everyone
[ Last edited by Dana on 2007-4-22 at 09:32 PM ]
