The contents of this page:
Renaming Examples
Keystrokes / Mouse
Moving Files
Renaming Order
Regional Options
File Selection
Commandline Options
About Scripts
Renaming Examples
Keystrokes / Mouse
Moving Files
Renaming Order
Regional Options
File Selection
Commandline Options
About Scripts
- Added new Moving Files section
- Updated commandline Options seciton
Example 0: Simple Renumbering
Rename Master renames files based on the order they appear in the list when counting Meta-Variables are used. In this example, the files are sorted by file Type ascending. File are sorted by clicking on a column header, just like in Windows Explorer. The up and down arrows on the left side of the window can be used to move a hilghted file or files up or down in the list.
In this example, the name of the file is being replaced with the word FILE and a 4 digit number. The Counting settings (seen above) tell the program to start with the number five and increment by 10 for each file selected. This generates names like FILE0005, FILE0015, FILE0025, and so on. The blue arrow buttons next to the text fields bring up the Meta-Variables form (as shown in this pictures)
The selected item, current number 4, will automatically insert the ?n04? Meta-Variable into the Replace name with field. This form keeps you from having to remember or lookup all the different Meta-Variables this program uses.
Example 1: File properties
In this example, the date of the file and a few spaces are being added to the begining of the file name. The meta-variable is inserted by using the date short item from the Insert Meta-Variables form. Note: Reserved characters, like those normally found in dates will be replaced automatically. The characters to use can be Set in the System tab of the Config form..The config form is displayed by pressing the "hammer" button on the main form.
Example 2: Asterisk Wildcards
Asterisk wildcard (like those used in a command prompt) are used to match zero or more characters of an unknown length and value. In this example, the term Voi*( is being replaced with (. The asterisk makes the term mean "Begins with 'Voi'" and "Ends with '('" and has zero or more characters between it. In this example the wildercard * represents the string "vod-Voivod " as seen in the 3rd, 6th, and 11th files in the list.
Example 3: Question Mark Wildcards
In this example, a 2 digit number surrounded by underscores is being replaced with _HELLO_. The this field contains _??_ as the search string. The question mark wildcard means "exactly one character", no matter what the character is. The meaning of the search string is "the string begins with and underscore, has exactly 2 characters, and then ends with an underscore". Notice that there are many words that begin and end with an underscore, (like _This_ and _Ten_) but only the track number is exactly 2 digits.
The file list accepts many standard keystrokes and mouse clicks that you may already know from Windows Explorer. Here's the list of keystrokes:
File list keys
| CTRL+C | - Copies the selected filename to the clipboard |
| CTRL+A | - Selects all files and folders |
| SHIFT+A | - Selects all files only (not folders) |
| CTRL+D | - De-selects all files |
| F2 | - Manually rename file |
| F5 | - Refresh file list |
| Enter | - Changes to selected folder |
| Backspace | - Goes up one folder |
| ESC | - Moves up one folder or stops editing the selected filename |
| UP arrow | - Moves the rename box when editing filename |
| DOWN arrow | - Moves the rename box when editing filename |
| SHIFT + Click | - hilight all files from the focused name to the clicked filename |
| SHIFT + Right Click | - Show the "Right Click" context-menu for the hilighted files |
| CTRL + Click | - Hilights the clicked file |
File path dropdown
| ENTER | - Make the list drop down and selects folders from the list |
| ESC | - Moves up one folder or closes the dropdown list |
You can insert relate path names infront of files filenames to move files and rename them at the same time. For example, if your are running Rename Master in "C:\Pictures" and you insert "Set1\" at the begining of each filename, all files selected for rename will be moved to "C:\Pictures\Set1". Basically, Rename Master takes the path listed in the dropdown list and adds the filename shown in the "New Name" column to create the new filename. So, [dropdown list path] + [New Name] becomes the new name of each file.
The ".." relative path symbols can be used as well just as you can in a Command Prompt. For Example, if your renaming files in "C:\ours" but you want to move the files to "c:\theirs", simply add "..\theirs" to the beginning of the filename.
Each tab of the renaming options is used no matter which one is currently shown. The order files are modified is as follows: Remove, Replace, Add. This way, text that is replaced or added is not affected by the Remove options.
The Numbers, Time, and Date tabs of Control Panel -> Regional Options effect the format of items show in Rename Master. The file list columns Size and Date are effected by these settings as are the meta-variables for sizes and dates. Changing this settings while Rename Master is running can cause it to crash. You will need to close Rename Master when editing these formats.
By default, all files have their checkboxes checked meaning that it will be renamed. Unchecked files and folders will not be included in the renaming process. The SHIFT and CTRL keys can be used just like in Windows Explorer to mass select and deselect folders. While you have items selected, the right mouse button will toggle the checkboxes of those items. The Select All / Select Hilighted and Clear All / Clear Hilighted buttons function similarly. (Keystrokes / Mouse
selection also available).
Rename Master supports 2 command line options. The syntax is as follows:
RenameMaster.exe "drive:\fullpath\"
RenameMaster.exe -s script.rm
RenameMaster.exe -xi script.rm
RenameMaster.exe -xu script.rm
The first example will start RM working in the given folder. The second example will automatically load a script. The third will execute with no user interactive, ignoring erros. The forth will execute and undo changes if an error occurs.
NOTE: The script must residein the same folder that RM is located.
When you save a "script", the current folder, filter, and all "Add To", "Replace", and "Remove" options are saved into a file. Under the Script popup menu, you have the option not save the folder/filter in the script. Also, you have to option to override changing to the filter listed in the script. When a script is loaded, it simply fills in the information that was saved. "Script" is really a bad name for these files since they are more like templates.
.Default.rm is a special script that is always loaded when Rename Master starts, unless a command-line option is used that specifies a script to load. Load and save to this script to specify settings that you always want set by default. If this file doesn't exist, Rename Master will create this file automatically.
These script files are text files that can be edited with a text editor. If the line "cbPath=c:\path" is changed to "cbPath=" (without the quotes), the option to not change folders is assumed when it is loaded. Previous versions of Rename Master would always save the filename, even when the "Change to folder in script on Open" option was not selected. Also, if the line "txtFilter=*.JPG" is changed to "txtFilter=" (without the quotes), the currently used filter will not be overwritten when the script is loaded. This is what happens when the "Save Filter in script" is not checked.



