You are not logged in.
Pages: 1
AT YOUR OWN RISK
step 1: add renamer to environmental variables
On the Windows desktop, right-click My Computer.
In the pop-up menu, click Properties.
In the System Properties window, click the Advanced tab, and then click Environment Variables.
In the System Variables window, highlight Path, and click Edit.
In the Edit System Variables window, insert the cursor at the end of the Variable value field.
If the last character is not a semi-colon (;), add one.
After the final semi-colon, type the full path to the file you want to find.
in our case, add
C:\Program Files (x86)\ReNamer
Click OK in each open window.
The new path will be used the next time a command prompt is opened, or a service is started.
some people will need to restart the pc for this to work
=============
step 2: create presets and save them
these setting will determine what the preset process
===============
step 3: create .bat files
in c:\r directory we create our files
these .bat files will refer to our presets
i made my 'renamer date size' preset. now i make batch file datesize.bat.
make sure you save in .bat format
"ReNamer.exe" /rename "renamer date size" "%~1"
===============
step 4: create .reg file
Windows Registry Editor Version 5.00
;commands when a file is selected
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\Renamer]
"MUIVerb"="Renamer preset"
"SubCommands"="renamer.1;renamer.2;renamer.3;renamer.4;renamer.5"
"SeparatorBefore"=""
"SeparatorAfter"=""
;commands when a folder is selected
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Renamer]
"MUIVerb"="Renamer preset"
"SubCommands"="renamer.1;renamer.2;renamer.3;renamer.4;renamer.5"
"SeparatorBefore"=""
"SeparatorAfter"=""
;============================================
;preset1
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\renamer.1]
@="folder"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\renamer.1\command]
@="\"C:\\r\\folder.bat\" \"%1\""
;preset2
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\renamer.2]
@="FolderFile"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\renamer.2\command]
@="\"C:\\r\\FolderFile.bat\" \"%1\""
;preset3
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\renamer.3]
@="datesize"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\renamer.3\command]
@="\"C:\\r\\datesize.bat\" \"%1\""
;preset4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\renamer.4]
@="strip char folders"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\renamer.4\command]
@="\"C:\\r\\stripcharfolders.bat\" \"%1\""
;preset5
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\renamer.5]
@="p"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\renamer.5\command]
@="\"C:\\r\\p.bat\" \"%1\""
===============
step 5: merge .reg file
double click the .reg file and you are good to go
this has been developed on win 8.1 with latest updates on 31 may 2020
the end result
AT YOUR OWN RISK
Last edited by fireheart2008 (2020-05-31 02:05)
Offline
Thanks for posting this how-to. I'm sure some users will find it useful.
An easier alternative is to use a built-in option that creates shortcuts to all presets, which can be easily placed into the "Send To" folder. This doesn't require any changes to the registry or the creation of auxiliary bat files. You can find this option in the Presets menu » Create Links. But this option does not create a dedicated submenu in the context menu, but rather uses the already existing "Send To" submenu, which may not always be the best solution.
A couple of comments regarding your approach...
step 1: add renamer to environmental variables - Can be skipped, if the full path to ReNamer.exe is used in other steps.
step 3: create .bat files - Can be skipped, if commands for ReNamer.exe are specified directly in the registry, rather then via the bat files.
step 4: create .reg file and step 5: merge .reg file - Can be performed with specialized context menu editors, which is ideal for less advanced users who do not feel comfortable editing the registry. For example, one such tool is Easy Context Menu (it's free, google it).
Offline
i know about the 'send to' options. it's actually what lead me to think of this method. mine was getting longer and longer.
adding renamer to environmental variables was just following the docs for command line here but yeah you're right, for the rest i just found something that works that i understood and went for it. i tried to provide comments in the registry file to understandable for those interested.
I should mention that this reg file be easily removed. just replace all instances of [ with [- and with a double click , it's removed.
[HKEY_LOCAL.......
becomes
[-HKEY_LOCAL.........
Offline
Pages: 1