FR: Copy names with full path - with / instead of \
Moderators: Hacker, petermad, Stefan2, white
FR: Copy names with full path - with / instead of \
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
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
Re: FR: Copy names with full path - with / instead of \
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.
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.
Re: FR: Copy names with full path - with / instead of \
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
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
Re: FR: Copy names with full path - with / instead of \
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.
Re: FR: Copy names with full path - with / instead of \
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?
- You mean to ask user with nick "Lefteous" (I tried - I found nothing useful, no addon to download)
- or a link?
Re: FR: Copy names with full path - with / instead of \
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)
Re: FR: Copy names with full path - with / instead of \
Stefan2,
Really? There is a notification if someone mentions your name? Fun.
Roman
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.
Re: FR: Copy names with full path - with / instead of \
Stefan2,
I wouldn't know where to look for it.
Roman
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.
- oOoZEUSoOo
- Junior Member
- Posts: 60
- Joined: 2021-07-09, 18:26 UTC
- Location: France
Re: FR: Copy names with full path - with / instead of \
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.
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...
Re: FR: Copy names with full path - with / instead of \
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
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