cm_CopyFullNamesToClip and cm_SwitchLongNames not in harmony

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
jb
Senior Member
Senior Member
Posts: 412
Joined: 2003-02-09, 22:56 UTC
Location: Switzerland

cm_CopyFullNamesToClip and cm_SwitchLongNames not in harmony

Post by *jb »

The commands cm_CopyFullNamesToClip and cm_SwitchLongNames do not cooperate well.

If you are normally in "long names" mode and you would like to copy the path of the current directory with short names then it is not enough to the following:
1. cm_SwitchLongNames
2. cm_CopyFullNamesToClip

In this case only the last element of the path will be in 8.3 notation.

Instead you need to do the following:
1. cm_GoToRoot
2. cm_SwitchLongNames
3. Navigate to the directory which was current before 1.
4. cm_CopyFullNamesToClip

If you would like the path with long names now, you have to repeat the sequence.
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2jb

Here is a solution using an external tool:
Download Lst2Clip from my site (link can be found my signature) and use the following settings.

1. Copy short names:
Command: Lst2Clip.exe
Parameters: /L:"%l"

cm_SwitchLongNames state doesn't matter here.

2. Copy long names :
Command: Lst2Clip.exe
Parameters: /L:"%L"

cm_SwitchLongNames must be set to long names. If you switch to short you will see the same "mix" as with cm_CopyFullNamesToClip.
jb
Senior Member
Senior Member
Posts: 412
Joined: 2003-02-09, 22:56 UTC
Location: Switzerland

Post by *jb »

2Lefteous
Thanks for the tip :), but in general I try to minimize the number of tools on my computer and currently I don't need 8.3 path names very often.
Post Reply