1 (edited by Stefan 2007-04-22 01:27:10)

Topic: Quick renaming (shortcut to Siren.exe with favorite as parameter)

Did you have every time the same renaming needs?
Did you want often to rename your pictures with the date of taken?
Did you need to  change your HTML file names to lower case all the time?
Then you can use Siren to find an nifty solution and store this expression in Siren as favorite. Use an short name like e.g. "ToLower".

Then make an shortcut to Siren.exe... e.g. on your desktop.
    A few ways to do it:
    * Right click in the desired location and choose New -> Shortcut. Complete the wizard
    * Copy the Siren's .exe, then right click where you want your shortcut to be. Select "Paste Shortcut"
    * Drag the Siren's .exe with your right mouse button to the desired location, then release and choose "Make shortcut".





After this, right click on the shortcut. Select properties.
The field to be edited is the "Target:" field.
    It would look like:
   "c:\program files\Siren\Siren.exe"

To start Siren with your stored favorite expression
add the name of your favorite as startup parameter:

click in the target field and add behind Siren.exe:
/A ToLower






Then Siren needs more parameter to work automatically if you want this: /R /Q /P

(start Siren.exe in an DOS-Box with the /? parameter for more info about this parameters
/A : the next parameter is the name (case sensitive) of a  favorite expression
/R : rename
/Q : quit
/P : to NOT store this as "last used" in the Siren.INI)

And Siren needs to know which files to rename... therefor we use an windows parameter: "%1"






After that, the whole target field should contain:

"c:\program files\Siren\Siren.exe"   /A ToLower /R /Q /P "%1"

Close the shortcut dialog with [OK]




Now you can drag and drop your files to rename over this shortcut
and they will be renamed. (maybe press F5-key in Explorer to refresh the view)


--------
More info:
http://en.wikipedia.org/wiki/Computer_shortcut

--
Edit:
/P parameter added. please see the next post too



      --
   For more details just download Siren at http://www.scarabee-software.net/en/siren.html and consult the help.
   No installation needed, unzip and run. Siren stores it settings into an ini file.   <Here> you can see some screen shots of Siren.
   Enjoy Siren, the powerfully portable freeware renamer.

Re: Quick renaming (shortcut to Siren.exe with favorite as parameter)

Stefan, thanks a lot for this text !! (and all the others)

Maybe just a little thing: it can be useful to add the "/P" to the command line. If it is not present many elements will be kept in the ".ini" (directory, expression ...) and so reused the next time siren is started which can be annoying.