'cm_CopyNetNamesToClip' in unix style

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
cpt.raceface
Junior Member
Junior Member
Posts: 9
Joined: 2004-11-25, 08:10 UTC

'cm_CopyNetNamesToClip' in unix style

Post 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]
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post 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"
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
cpt.raceface
Junior Member
Junior Member
Posts: 9
Joined: 2004-11-25, 08:10 UTC

Post 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
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post 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.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
Post Reply