Hello,
I want to save a target file with consecutive numbers:
Example
Scope (1). Zip, Scope (2). Zip .... Scope (s). Zip
7z a-tzip C: \ Backup \ Scope.zip C: \ Program Files \ Scope.mdb?
or
attach to each file name the date and time
Can anyone tell me if and how I feel?
Thank you
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If index file does not exist write one with value 1
Put number in variable I
Add 10000 to variable I and put in variable J
Run archive command - archive name includes 4 right characters of variable J
Increment variable I by 1
Write variable I to index file
Result: Scope(0001).zip, Scope(0002).zip, ...., Scope(9999).zip ; then rolls over.
Hello,
I want to save a target file with consecutive numbers:
Example
Scope (1). Zip, Scope (2). Zip .... Scope (s). Zip
7z a-tzip C: \ Backup \ Scope.zip C: \ Program Files \ Scope.mdb?
or
attach to each file name the date and time
Can anyone tell me if and how I feel?
Thank you
Use index file to keep track of number.
If index file does not exist write one with value 1
Put number in variable I
Add 10000 to variable I and put in variable J
Run archive command - archive name includes 4 right characters of variable J
Increment variable I by 1
Write variable I to index file
Result: Scope(0001).zip, Scope(0002).zip, ...., Scope(9999).zip ; then rolls over.
Last edit: fernando 2014-05-11