Pack to Folder
This utility moves all the selected elements to a new subfolder in the current folder. You will be asked for the name of this new subfolder.
Example: if you apply Pack to Folder over folder1, folder2, file1.txt and file2.txt, with the following folder structure:
parent_folder
folder1
file1-1.txt
file1-2.txt
folder2
file2-1.txt
file2-2.txt
folder3
file3-1.txt
file3-2.txt
file1.txt
file2.txt
file3.txt
the resulting structure will be:
parent_folder
new_folder
folder1
file1-1.txt
file1-2.txt
folder2
file2-1.txt
file2-2.txt
file1.txt
file2.txt
folder3
file3-1.txt
file3-2.txt
file3.txt
By default the files will be moved to the new folder. If you want to copy the files instead of moving them, then you can activate the corresponding option in the Pack To Folder dialog box.
Variables
The available variables to insert in the folder name are the following:
Current Time
%X |
Local time. Example: 14:05 |
%p |
Indicator AM/PM |
%I |
Hour (12-hour format) |
%H |
Hour (24-hour format) |
%M |
Minutes |
%S |
Seconds |
%z |
Time Zone (short) |
%Z |
Time Zone (long) |
Current Date
%x |
Local Date Format. Example: 08-10-2011 |
%D |
Long Date Format. Example: Saturday, October 8 2011 |
%d |
Day of Month in Decimal (01-31) |
%m |
Month in Decimal (01-12) |
%b |
Short Month Name (Jan, Feb, ...) |
%B |
Long Month Name (January, February, ...) |
%y |
Year without Century (00-99) |
%Y |
Year with Century |
%a |
Short Week of Day (Mon, Tue, ...) |
%A |
Long Week of Day (Monday, Tuesday, ...) |
%w |
Day of Week in Decimal (0-6, 0=Sunday) |
%W |
Week of Year in Decimal (00-53) |
%j |
Day of Year in Decimal (001-366) |
Other variables
%COMPUTERNAME% |
Computer name |
%USERNAME% |
User name who logged in |
%FOLDERNAME% |
Folder name of the parent folder |
%RND(length,ranges)% |
Random string. The first parameter specifies the length of the string. The remaining parameters specify the ranges of characters. For example, with %RND(4,0-9,A-Z)%, the random string will be 4 characters of length and will contain both numbers and upper case letters. |