"Flash Renamer" tool: Integration via an Button?
Moderators: white, Hacker, petermad, Stefan2
"Flash Renamer" tool: Integration via an Button?
I want to create a button that sends selected folders to Flash Renamer. "%P%S" send folders to Flash Renamer however a selection dialog appears. I don't want to see that dialog. Flash Renamer supports several commands below. How can I send selected folders without seeing that dialog?
I have tried /p /d /s "%P%S" as button argument but it didn't work.
Command Line Arguments:
https://www.rlvision.com/flashren/manual/appendix_command_line.html
I have tried /p /d /s "%P%S" as button argument but it didn't work.
Command Line Arguments:
https://www.rlvision.com/flashren/manual/appendix_command_line.html
- ghisler(Author)
- Site Admin
- Posts: 48023
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Flash Renamer Button Integration
TC doesn't show any dialog, except when you put "?" at the start of the parameters. Therefore the dialog must be coming from Flash Renamer. Please ask the author of that tool how to get rid of the dialog.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Flash Renamer Button Integration
2drbeat
1. Use the right command line order: FlashRen.exe /p c:\download\*.* /r "my preset" /f
2. FlashRenamer wants one single folder as argument, not folderS.
/p - Sets the startup path
try: /p "%P%N" /s /f
with an selected folder
-or-
try: /p "%P" /s /f
for the current "open" folder
1. Use the right command line order: FlashRen.exe /p c:\download\*.* /r "my preset" /f
2. FlashRenamer wants one single folder as argument, not folderS.
/p - Sets the startup path
try: /p "%P%N" /s /f
with an selected folder
-or-
try: /p "%P" /s /f
for the current "open" folder
Re: Flash Renamer Button Integration
Thank you Stefan2.
Multiple folder could be achieved via Free Select mode. Is there any way to do this?
/l - Allows you to specify a text file containing files and folders (full paths, one file or folder per line). The files and folders will be loaded into the Free Select mode.
Multiple folder could be achieved via Free Select mode. Is there any way to do this?
/l - Allows you to specify a text file containing files and folders (full paths, one file or folder per line). The files and folders will be loaded into the Free Select mode.
Re: Flash Renamer Button Integration
What about using the help button while setting up a button in TC.drbeat wrote: ↑2019-01-09, 17:35 UTC Thank you Stefan2.
Multiple folder could be achieved via Free Select mode. Is there any way to do this?
/l - Allows you to specify a text file containing files and folders (full paths, one file or folder per line). The files and folders will be loaded into the Free Select mode.
You will find:
%L, %l, %F, %f, %D, %d, %WL, %WF, %UL, %UF
create a list file in the TEMP directory with the names of the selected files and directories, and appends the name of the list file to the command line. The list is deleted automatically when the called program quits. Only one list per command is supported. 10 types of list files can be created:
So please read the help first and then ask if something is not clear or working.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
Re: Flash Renamer Button Integration
%L creates different file name in temp directory (like CMDxx.tmp) each time. So how can I create fixed file name in temp dir to use /l
Re: Flash Renamer Button Integration
FlashRenamer Help:
/l - Allows you to specify a text file containing files and folders (full paths, one file or folder per line).
The files and folders will be loaded into the Free Select mode.
TC Help:
%L, ... create a list file
- - -
So try:
FlashRen.exe
/l "%L"
(case sensitive)
But that is for to adding several files or folders, not folder content, as far as I see.
- - -
And it doesn't work with TC just out of the box
because TC adds a trailing backslash behind each path which FR doesn't understand.
Try with an own text file with one path per line
and this TC parameter
/l "%P%N"
while you have selected your own text file.
You would need a script to modify the file behind %L to remove trailing backslashes and next pass that modified file to FR.
--- TC parameter: myScript.ext "%L"
--- myScript.ext content: For each line remove '\' AND write to Temp\x.ext AND run FR.exe /l Temp\x.ext
- - -
Perhaps (you didn't tell what you want to achieve) you can use FlashRen.exe /l "%L"
with an selection after Commands\Branch View -or- after a search and [Add to listbox]
/l - Allows you to specify a text file containing files and folders (full paths, one file or folder per line).
The files and folders will be loaded into the Free Select mode.
TC Help:
%L, ... create a list file
- - -
So try:
FlashRen.exe
/l "%L"
(case sensitive)
But that is for to adding several files or folders, not folder content, as far as I see.
- - -
And it doesn't work with TC just out of the box
because TC adds a trailing backslash behind each path which FR doesn't understand.
Try with an own text file with one path per line
and this TC parameter
/l "%P%N"
while you have selected your own text file.
You would need a script to modify the file behind %L to remove trailing backslashes and next pass that modified file to FR.
--- TC parameter: myScript.ext "%L"
--- myScript.ext content: For each line remove '\' AND write to Temp\x.ext AND run FR.exe /l Temp\x.ext
- - -
Perhaps (you didn't tell what you want to achieve) you can use FlashRen.exe /l "%L"
with an selection after Commands\Branch View -or- after a search and [Add to listbox]
Re: Flash Renamer Button Integration
You're right Flash Renamer doesn't understand trailing backslashes and that ruins everything. Thanks lot Stefan2 for taking time and test it.
Last edited by drbeat on 2019-01-09, 19:32 UTC, edited 1 time in total.