FR: Copy names with full path - with / instead of \

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
LuP
Junior Member
Junior Member
Posts: 6
Joined: 2009-07-16, 08:38 UTC

FR: Copy names with full path - with / instead of \

Post by *LuP »

Hello,

I often use "cm_CopyFullNamesToClip" - I have a hot key assigned with this, which produces paths like "c:\Users\File.txt".

But - also very often - I must rewrite "\" in the path by "/" or "\\" - "c:/Users/File.txt" or "c:\\Users\\File.txt" - as the string is used later as a string constant in an environment where "\" denotes an escape sequence, whilst "/" is treated as a directory separator.

Would it be possible to add a very similar command, e.g. "cm_CopyFullNamesToClipSlash", which would copy the current selection full paths with backslashes changed to slashes?

TIA.

Best regards,

LuP
User avatar
Stefan2
Power Member
Power Member
Posts: 4132
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: FR: Copy names with full path - with / instead of \

Post by *Stefan2 »

Search the forum for Lst2Clip addon


https://www.ghisler.ch/board/viewtopic.php?t=1853


One example:
Kommando = %COMMANDER_PATH%\Tools\List2Clipboard\Lst2Clip.exe
Parameter = /P:"/cygwin/" /R:":\"="/" /R:"\"="/" /R:" "="\ " /L:"%L"
Tooltip = for cygwin users 'cm_CopyNetNamesToClip' in unix style.



/P: Prefix, der vor jeder Zeile eingefügt wird. Beispiel: /P:"PRE"
/S: Suffix, der hinter jede Zeile eingefügt wird. Beispiel: /S:"POST"
/R: Mehrfach erlaubter Parameter mit dem Strings ersetzt werden können
/L: Die Liste mit den Dateien



Sorry, here the English text:

/P Prefix, which will inserted before each line. Example: /P:"PRE"
/S Suffix, which will be inserted after each line.. Example: /S:"POST"
/R is a parameter, which can be used multiple times. Example: /R:"Righteous"="Lefteous"
/L The file list.






 
LuP
Junior Member
Junior Member
Posts: 6
Joined: 2009-07-16, 08:38 UTC

Re: FR: Copy names with full path - with / instead of \

Post by *LuP »

Hello,

thanks for sharing the link to the discussion, unfortunately none of the links mentioned there is valid.

Is there an alternative place where to download the plugin from? (Also need 32b version of the addon.)

Cheers,

LuP
User avatar
Stefan2
Power Member
Power Member
Posts: 4132
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: FR: Copy names with full path - with / instead of \

Post by *Stefan2 »

2Lefteous


LuP wrote: 2021-07-09, 13:04 UTC thanks for sharing the link to the discussion, unfortunately none of the links mentioned there is valid.



 
LuP
Junior Member
Junior Member
Posts: 6
Joined: 2009-07-16, 08:38 UTC

Re: FR: Copy names with full path - with / instead of \

Post by *LuP »

Sorry, I don't understand your hint.
- You mean to ask user with nick "Lefteous" (I tried - I found nothing useful, no addon to download)
- or a link?
User avatar
Stefan2
Power Member
Power Member
Posts: 4132
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: FR: Copy names with full path - with / instead of \

Post by *Stefan2 »

LuP wrote: 2021-07-09, 13:49 UTC Sorry, I don't understand your hint.

I guess you got a notification on top left, here in the forum?

The same will happen for Lefteous by using 2Lefteous, once he visit this forum, so he can see and give a helping hand.



Normally you can download from one of the posts in the announcement thread ( https://www.ghisler.ch/board/viewtopic.php?t=1853 ),
or from https://totalcmd.net/plugring/list2clip.html , but this host is not online at the moment.
Or visit the Total Commander Plugins homepage > https://www.ghisler.com/plugins.htm (this very addon is not listed there)

So you have to wait till somebody provide you a interim download link.
Since I happen to know the name of the archive and how google works, I have seen now, 2petermad will surly help you out soon. (I don't know if I am allowed to share his URLs)





 
User avatar
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: FR: Copy names with full path - with / instead of \

Post by *Hacker »

Stefan2,
Really? There is a notification if someone mentions your name? Fun.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Stefan2
Power Member
Power Member
Posts: 4132
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: FR: Copy names with full path - with / instead of \

Post by *Stefan2 »

Yes.

Not for you? >>>> 2Hacker




 
User avatar
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: FR: Copy names with full path - with / instead of \

Post by *Hacker »

Stefan2,
I wouldn't know where to look for it.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
oOoZEUSoOo
Junior Member
Junior Member
Posts: 56
Joined: 2021-07-09, 18:26 UTC
Location: France

Re: FR: Copy names with full path - with / instead of \

Post by *oOoZEUSoOo »

Hi TC Users,
2LuP

I'm French so sorry if my english language is not very good ^^
I read everydays this forum to find questions/answers that could help me as well.
I saw this topic and that you were looking for LST2CLIP.
I found it there in a package called "wincmd_plugin.zip" : https://www.gameandme.fr/open-source/les_meilleures_extensions_pour_total_commander/

Best regards, Frederic.
Registered User. Total Commander : The best file manager...
LuP
Junior Member
Junior Member
Posts: 6
Joined: 2009-07-16, 08:38 UTC

Re: FR: Copy names with full path - with / instead of \

Post by *LuP »

Hello,

thanks everyone for hints and also for the last link to download Lst2Clip.exe, finally I succeed - so here is my solution:

Image: https://nc.pontex.cz/index.php/s/WZ65RSn22eXsTHN

Best regards,

Lukas
Post Reply