Difference between revisions of "ReNamer:Command Line"

From den4b Wiki
Jump to navigation Jump to search
m (→‎Commandline use of Renamer: minor cosmetic changes)
Line 1: Line 1:
==Commandline use of Renamer==
+
==Command Line use of ReNamer==
 
 
ReNamer supports several command line parameters. Different parameter types cannot be combined together.
 
  
 +
[[ReNamer]] supports several command line parameters. Different parameter types cannot be combined together.
  
 
{| class="prettytable"
 
{| class="prettytable"
| <center>'''Parameter'''</center>
+
! Parameter
| <center>'''Description'''</center>
+
! Description
  
 
|-
 
|-

Revision as of 12:51, 26 May 2009

Command Line use of ReNamer

ReNamer supports several command line parameters. Different parameter types cannot be combined together.

Parameter Description
<files>
Paths to files and folders which will be automatically added to the program. Program's default settings will be used for adding folders. Masked paths can also be used, e.g. "C:\Pictures\*.jpg"
/preset <preset> <files>
Load preset specified by a preset name or a full path. Optionally, paths to files/folders can be appended to the end on this command, and they will be automatically added to the program.
/rename <preset> <files>
Load preset specified by a preset name or a full path and proceed with Preview and Rename actions. Upon successful Preview and Rename operations, program will close automatically. Otherwise, graphical user interface will become visible and an appropriate error message will be displayed. Paths to files/folders can be appended to the end on this command, and they will be automatically added to the program.
/enqueue <files>
Add following files/folders to already running instance of the program. If no running instance is found - launch a new one.
/list <files>
Load a list of files/folders from the following list files.
/uninstall
Remove all manually turned on associations with the program, e.g. presets association. For advanced users only!

Examples

  • "ReNamer.exe" /enqueue "C:\Folder" "C:\Pictures\*.jpg"
    • This command will add to already running instance of the program contents of folder "C:\Folder" (depending on the default settings) and all *.JPG files from folder "C:\Pictures".
  • "ReNamer.exe" /preset "MyRules" "C:\Folder"
    • This command will launch a new instance of the program, will load the preset with the name "MyRules", and will add contents of folder "C:\Folder" (depending on the default settings).
  • "ReNamer.exe" /rename "MyRules" "C:\Folder"
    • This command will launch a new instance of the program, will load the preset with the name "MyRules", will add contents of folder "C:\Folder" (depending on the default settings), and will execute Preview and Rename operations (program will close upon successful completion of all operations).
  • "ReNamer.exe" /list "List1.txt" "List2.txt"
    • Where "List1.txt" and "List2.txt" are lists of files (one per line), with absolute or relative paths (relative to the list file). The contained paths will be loaded into ReNamer.