Page 1 of 1

'cm_CopyNetNamesToClip' in unix style

Posted: 2007-10-23, 10:51 UTC
by cpt.raceface
Hi,

for cygwin users it would be nice to have 'cm_CopyNetNamesToClip' in unix style.

e.g.:
[face=courier]cm_CopyNetNamesToClip[/face] --> c:\tmp\text.txt
new:
[face=courier]cm_CopyNetNamesCygwinToClip[/face] --> /cygdrive/c/tmp/text.txt

or
[face=courier]cm_CopyNetNamesToClip[/face] --> \\hostname\tmp\text.txt
new:
[face=courier]cm_CopyNetNamesUnixToClip[/face] --> //hostname/tmp/text.txt

whitespaces
win32: c:\tmp\my text file.txt
cygwin: /cygdrive/c/tmp/my\ text\ file.txt

Or is there a command, already?

Danke, ciao
cpt[face=verdana][/face][face=verdana][/face][face=verdana][/face]

Posted: 2007-10-23, 21:17 UTC
by StatusQuo
The Tool ListToClipboard 1.02 by Lefteous should be able to do this.

Setup e.g. in the start menu (path has to be adjusted to where you copied it):
  • Command = %COMMANDER_PATH%\Tools\Lst2Clip\Lst2Clip.exe
    Parameter = /P:"/cygwin/" /R:":\"="/" /R:"\"="/" /R:" "="\ " /L:"%L"

Posted: 2007-10-24, 09:23 UTC
by cpt.raceface
Hi StatusQuo,
StatusQuo wrote:The Tool ListToClipboard 1.02 by Lefteous should be able to do this.
I am using List2Clip, already. But I cannot get rid of the tailing 'new line'.
If you paste the path from the clipboard into cygwin shell you automatically hit the return key and the command is sent.

Danke, ciao
cpt

Posted: 2007-10-24, 19:04 UTC
by StatusQuo
2cpt.raceface
As I see you already found the List2Clip thread.

A note to other readers:
Lefteous has stopped development of List2Clip (thread in the plugins section),
but recommends WDXInfoPacker now.