Command Parameters on MultiRenameEdit parameter

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
sspear
Junior Member
Junior Member
Posts: 11
Joined: 2017-02-02, 14:51 UTC

Command Parameters on MultiRenameEdit parameter

Post by *sspear »

I'm using the Multi-rename tool with the VIM editor (press F10, select 'Edit names..').

I would like to pass some parameters to this command. I have been able to specify the parameter --remote-silent in the configuration/settings file, as in:

Code: Select all

MultiRenameEdit=C:\My\exe\Vim\gvim.exe --remote-silent
However, I haven't been successful with a parameter having quotes, for example:

Code: Select all

-c "setlocal cfu=Fun1#C"
Does anyone know if/how this is possible?
User avatar
nsp
Power Member
Power Member
Posts: 1951
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

This is not a Total Commander issue !
The gvim --remote command line syntax is not the same as the standard gvim call. Give a try from your dos console !
in your case, you should use:

Code: Select all

MultiRenameEdit=C:\My\exe\Vim\gvim.exe --remote-silent +"setlocal cfu=Fun1#C" 
This should do the trick !
sspear
Junior Member
Junior Member
Posts: 11
Joined: 2017-02-02, 14:51 UTC

Post by *sspear »

My error, you are correct.

Thank you for your help, your suggestion works!
Post Reply