cm_CopyNamesToClip and cm_CopyFullNamesToClip

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
DVV
Junior Member
Junior Member
Posts: 31
Joined: 2009-09-30, 13:19 UTC

cm_CopyNamesToClip and cm_CopyFullNamesToClip

Post by *DVV »

Is there an option to make the commands `cm_CopyNamesToClip` and `cm_CopyFullNamesToClip` copy directory names without the trailing `\` character?
And, actually, what was the reasoning of adding the trailing `\`to the directory names while copying them to the clipboard?
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7028
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: cm_CopyNamesToClip and cm_CopyFullNamesToClip

Post by *Horst.Epp »

DVV wrote: 2025-06-26, 08:39 UTC And, actually, what was the reasoning of adding the trailing `\`to the directory names while copying them to the clipboard?
The trailing \ makes it clear, that it is a directory.
Without this, a program would have to check the file system entry.
I see no real problem with the trailing \ in scripts.
Windows 11 Home, Version 24H2 (OS Build 26100.4484)
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1396a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.6 x64
User avatar
tuska
Power Member
Power Member
Posts: 4132
Joined: 2007-05-21, 12:17 UTC

Re: cm_CopyNamesToClip and cm_CopyFullNamesToClip

Post by *tuska »

Post Reply