Rename: Modify Options

Usage

The Modify method of renaming allows the same change to be made to all file names in the folder. The following changes are performed in the order they are listed in the dialog.

Operation Action
Replace 'duck' by 'dog'Replace all 'duck' with 'dog' in all file names. See *Note below.
Delete through '-'Delete start through '-' in all file names with a '-' in them.
Delete first 5 CharactersDelete the first 5 characters from all file names with more than 5 characters.
Delete from end to last 'g-'Delete 'g-' to the end of the file name if the file name contains 'g-'
Delete last 2 CharactersDelete the last 2 characters from all file names with more than 2 characters.
Add to start 'Camp day 'Adds 'Camp day ' to the start of each filename
Add to end ' final'Adds ' final' to the end of each filename

The default settings for this dialog make no changes at all to the file names.

*

*Note: If a replace pattern is used, no changes are made to the filename unless the replace pattern is found. For example, if Replace 'dog' by 'cat' and Add to end ' my pet' were set. 'my pet' would not be added to file names that did not originally have the word dog in them. By replacing text with the same text, you can limit all other changes to filenames with the replaced text.

Changing text values between single quotes ''

Click on the change button to change the text between the single quotes.

Changes are made based on the order in the dialog

This means that Replace By is performed before Delete from start through which is performed before Delete first [] characters.

The table shows what would happen to the file name 'my dog has fleas.txt' if all the indicated changes were specified as options:

Operation Resulting filename after operation
Replace 'dog' by 'elephant'my elephant has fleas.txt
Delete through 'ph'ant has fleas.txt
Delete first 4 Charactershas fleas.txt
Add at start 'my gray whale 'my gray whale has fleas.txt
As a result of these 4 operations, 'my dog has fleas.txt' would be changed to 'my gray whale has fleas.txt'.

Wildcard for files (usually *.*)

This determines which files are renamed. The default, *.*, causes all files with in the current folder to be renamed. Other options are t*.doc which causes all doc files starting with t to be renumbered.