Greetings.
The row ".." at the top of each directory list represents that directory. It would be helpful if the command cm_CopyNamesToClip would copy the directory name to the clip when it is executed.
The command cm_CopyFullNamesToClip copies the full name of the directory to the clipboard if the ".." row is selected, so it should be possible for the simple name as well. Currently the "No files selected" error message is displayed, even though the command refers to "name", not "filename".
Small change to make cm_CopyNamesToClip even more useful
Moderators: white, Hacker, petermad, Stefan2
Re: Small change to make cm_CopyNamesToClip even more useful
If your goal is to get the name of the parent directory, then what is the point of depending on the selected objects?
Create a button or a custom command for a hotkey based on it:
Create a button or a custom command for a hotkey based on it:
Code: Select all
TOTALCMD#BAR#DATA
mshta
"javascript:close(clipboardData.setData('text','%B'))"
wciconex.dll,202
Copy parent folder name
1
Code: Select all
TOTALCMD#BAR#DATA
%ComSpec% /q/c >nul chcp 65001&<nul set
/p="%B"|clip
wciconex.dll,202
Copy parent folder name
1
Overquoting is evil! 👎
Re: Small change to make cm_CopyNamesToClip even more useful
Isnt that what cm_CopySrcPathToClip and cm_CopyTrgPathToClip are for?
Hoecker sie sind raus!
Re: Small change to make cm_CopyNamesToClip even more useful
Sir_SiLvA,
Those copy the whole path. I assume the request is for the current dir name only.
Roman
Those copy the whole path. I assume the request is for the current dir name only.
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.