I have a ton of Exhibits all named as follows (the first 4 characters representing the EXHIBIT NUMBER and the following characters representing document date in YYYY-MM-DD format):
0001-1942-01-23 Letter from Sally to Harry
0002-1950-10-23 Anniversary card from Smith to Sally
I want to create a footer which:
1-Shows the Exhibit Number of each Document [First four characters of filename]
2-Hyphen or dot
3-Bates number of Each Page [Starting at 000001 for EACH DOCUMENT - not Universal Bates Numbers]
Thus, my footers for these documents should appear as follows:
FOR DOCUMENT 0001:
EXHIBIT 0001-000001
EXHIBIT 0001-000002'
EXHIBIT 0001-000003
FOR DOCUMENT 0002:
EXHIBIT 0002-000001
EXHIBIT 0002-000002
Obviously, the foregoing could be done "manually", but that is not what I want.
I want a BATCH job that will accomplish the foregoing for ALL documents within a specified directory.
Any help? Soon?