Filename Format for Append To Filename option
Many of the tasks have the 'Append to filename' option. You can append Date/Time to the filename. You can also add your own Custom Text to your filename. You can also set the Date/Time format. Use the options indicated below, in the Settings Menu / FilenameFormat window.
Appending Custom Text to your filename:
You can add your own Custom Text to your filename, according to the rules below:
1) Text will add 'Text' to the end of the filename (after extension).
2) P1::Text will add 'Text' before the filename
3) P2::Text will add 'Text' before the extension
4) P3::Text will add 'Text' at the end (after extension if an extension exists)
5) P4:: will add the Date to filename (before extension if an extension exists)
6) P5:: will add the Date/Time to filename (before extension if an extension exists)
7) You can add multiple Text to your filename using + after each rule used
8) You can also enter task or system variables to be added to the filename, except for the P4:: & P5:: formats, which already add the date or date/time.
IMPORTANT: P1:: , P2:: etc., should be entered exactly as shown (case sensitive)
Examples:
Filename |
Custom String Entered |
Resulting Filename |
test.txt |
-java-$%DATE::ppddyy%$ |
test.txt-java-012704 |
test.txt |
P1::pre_ |
pre_test.txt |
test.txt |
P2::_beforeExt |
test_beforeExt.txt |
test.txt |
P2::_$%DATE::ppddyy%$ |
test_012704.txt |
test.txt |
P3::_afterExt-$%DATE::ppddyy%$ |
test.txt_afterExt-012704 |
test.txt |
P2::_beforeExt_+P4:: |
test_beforeExt_01-27-04.txt |
test.txt |
P1::pre_+P5:: |
pre_test01-27-04_12:32.txt |
Appending Date or Date/Time
If you select 'Date', the current date is appended to the filename. If you select 'Date/Time', the current date and time are appended to the filename. This is useful for archiving purposes. The day and month are always two-digit numbers. If time is appended, the hour and minute are always two-digit numbers.
The standard date time separators like / or : are not used. These separators cannot be used in pathnames or filenames, on some operating systems. Hence we chose -, _ , or none as the separators.
Date Format Sequence:
This allows you to select the sequence of day, month, and year.
Year Format:
You can set a 2-digit year or a 4-digit year, or choose not to have the year appended to your filename.
Date Time Separator:
This sets the separator between the date and time, if the 'Date/Time' 'Append to Filename' option is selected.
Date Component Separator:
This sets the separator between the day, month and year.
Time Component Separator:
This sets the separator between the hour and the minute fields, and between the minute and the second fields.
Include Seconds:
Select this option to append the second's field to the time.