Batch Rename

Readme

A simple program that does a mass rename for files or folders.

Features:

  • Rename multiple files or folders in a folder. Does not recurse through sub-folders.
  • Rename files according to the order shown.
  • Replace word(s) in the file's name with another word.
  • Insert or prefix or suffix word(s) into the file's name.
  • Keep specified portion of the file's name.
  • Insert a counter into the file's name.
  • Setting rules to rename files or folders is similar to setting the rules in Microsoft Outlook.

Prerequisites:

Supported OS:

  • Windows XP
  • Windows Vista

Files included in the zip:

  • Batch Rename.exe
  • read_me.html

Installation

Unzipped all the files in the zip to any folder. No registry key is created when the program is being used.

Removal:

Delete the folder containing Batch Rename

Update:

Replace "Batch Rename.exe" with the new exe file.

Known Issues

  1. Clicking on the column header "Type", will result in a jumbled order of file names sorted by file type.

    Cause:
    The current natural sorting algorithm is not a stable sort. Currently a better natural sort is being sought.

    Workaround:
    Use a regex to filter by extension.

  2. System files (e.g. AUTOEXEC.BAT, boot.ini, pagefile.sys, e.t.c.) are shown despite having "Hide protected operating system files (Recommended)" checked in "Folder Options".

    Cause:
    The way files are displayed in Batch Rename is based on the file's attributes. Windows does not mark those as system files, therefore the files are treated as normal.

    Workaround:
    None.

  3. DVD-Rom drives are labelled as CDRom Drive. A: and B: are labelled as Removable Drive.

    Cause:
    This is due to the way Windows return the drives info. It doesn't allow to distinguish between DVD drives, CD drives or Floppy Disk drives.

    Workaround:
    None.

Change log

Version: 3.0.0.0 (2008 July 20, 05:26)

  • Fixed: Issue where expanding the same directory node multiple times in the directory explorer, results in the same directories appending to the node.
  • Fixed: Issue where the numericupdown controls have a maximum value of 100. The limit is now 65536.
  • Changed: Project is now compiled using Microsoft .NET Framework 3.5.
  • Changed: Major changes to the GUI.
  • Changed: Refactoring of project code.
  • Changed: Renaming of files is now rule based, instead of the static way of renaming files.
  • Changed: All files are now unchecked by default.
  • Changed: Uses user's "Folder Options" settings to view hidden or system files.
  • Changed: Sort is now natural sort instead of alphabet sort. Similar to how Windows Explorer sorts.
  • Changed: The "Up Folder" button now looks like a standard button.
  • Remove: File label edit. Not useful.
  • Remove: The application settings. Had pointless options.
  • Remove: The menu bar. Having toolbars makes the program's options clearer.
  • Remove: Move up and down button for moving file index is removed as there is a drag drop feature.

Version: 2.1.1.0 (2006 September 29, 23:24)

  • Fixed: Issue where clicking any textbox more than once will result in the selection of all the text, instead of deselecting the text in the textbox.
  • Fixed: Issue where it is possible to copy and paste an illegal file character in any of the textbox for renaming.
  • Fixed: Issue where dragging and dropping more than one item, below the selected items, will result in the items being placed in the wrong index.
  • Fixed: Issue where using the "Down" button to move more than one item, past the end of the list in the listview, will result in the program crashing.
  • Changed: Major changes to the GUI.
  • Changed: Refactoring of project code.
  • Changed: The directory listings and file listings now uses the system's icons.
  • Changed: The ability to delete files out of the list to the usage of checkboxes.
  • Added: The ability to rename folders.
  • Added: When previewing the new file names, it will check if that file name already exist.
  • Added: A new way to view files in the listview using Windows XP's style of grouping. Note: This requires Windows XP and above.
  • Added: The webpage URL in the about dialog.

Version: 2.0.2 Build 3 (2005 July 11, 01:30)

  • Fixed bug where blank boxes in numeric up down causes unhandled exceptions.
  • Fixed bug where increasing the value for the numeric up down controls will sometimes cause errors.
  • Fixed bug when Keep From value is greater than Keep To value a renaming error will occur.
  • Fixed bug when using the keyboard arrow keys to increase or decrease the numeric up down controls, the renaming either lags or jumps by 2 counts.
  • Fixed bug where pressing the delete button causes listview to lose focus. Item(s) needed to be selected again to delete.
  • Fixed bug where changing the options for Replace settings causes the listview to refresh. Any changes to the list will be lost.
  • Fixed bug where if the number of characters for the file extension is not 3 when using the Keep File portion, renaming may be wrong.
  • Keyboard delete button now works for listview.
  • When counter value is "-1", no counter will be included in the renaming.
  • Added a splash screen.
  • Program is now being compiled on .NET Framework Version 2.0.50215 instead of .NET Framework Version 1.1.
  • The file "Batch File Rename.exe.manifest" is no longer needed.
  • Batch File Rename.exe changed icon.
  • When refreshing the listview, the columns no longer revert back to the default length.
  • Clicking the text "Create log_file.txt" will now toggle the checkbox.

Version 2.0.1.1 (2005 March 06, 19:04)

  • Fixed bug where when the program refreshes the listview, the old items weren't removed.
  • Fixed bug when deleting multiple items, only the first selected item is deleted.
  • Fixed bug where upon pressing the delete button when no files are selected, an unhandled exception occurs.
  • Fixed bug where using the up or down button to move multiple selected items results in only 1 item being moved when the button is press for the second time.
  • Added shortcuts for the menu buttons "Exit" (Alt + F4) and "Help Topic" (F1).

Version 2.0.0.0 (2005 March 01, 09:30)

  • Release.
  • Use Microsoft .NET (C#) instead of Microsoft Visual Basic.

Credits

Developers

  • Gareth

Others

Website

http://gar.randchar.com/

Notes

Please do not hesitate to give comments or feedback using the contact page at the website link above.