How to copy file path and file name to the clipboard?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
H.W. Alting
Junior Member
Junior Member
Posts: 4
Joined: 2003-08-13, 14:16 UTC

How to copy file path and file name to the clipboard?

Post by *H.W. Alting »

:?: Hi, I would like to know if there's a (hidden) command to copy the full path and filename of a selected file to the clipboard. Until now, I've been using a workaround with a line command like "dir > filename.txt".

If this isn't possible, it may be a useful suggestion to add such a comand to a menu in the next release.

Kind regards,

H. Alting
User avatar
norfie
Power Member
Power Member
Posts: 1194
Joined: 2003-02-18, 14:18 UTC

Post by *norfie »

Last edited by norfie on 2004-09-10, 21:25 UTC, edited 1 time in total.
CoolWater
Power Member
Power Member
Posts: 737
Joined: 2003-03-27, 16:33 UTC

Post by *CoolWater »

norfie wrote:A) suggestion without preparation for copy one file:
1st: cursor on the file, commandline empty
2nd: press Ctrl+Shift+Enter, this copy path+file in commandline
3rd: Shift+Arrow right (marks commandline)
4th: Ctrl+X copy this to clipboard
hum, doesn't really work :( i was wondering if you're sure you mean CTRL+X because this just cuts the command line... but CTRL+C doesn't work either... the commandline string is just copied to the clipboard.
User avatar
Leif
Senior Member
Senior Member
Posts: 328
Joined: 2003-02-05, 15:44 UTC
Location: Umeå, Sweden

Post by *Leif »

CoolWater wrote:
norfie wrote:A) suggestion without preparation for copy one file:
1st: cursor on the file, commandline empty
2nd: press Ctrl+Shift+Enter, this copy path+file in commandline
3rd: Shift+Arrow right (marks commandline)
4th: Ctrl+X copy this to clipboard
hum, doesn't really work :( i was wondering if you're sure you mean CTRL+X because this just cuts the command line... but CTRL+C doesn't work either... the commandline string is just copied to the clipboard.
Well, the question was "if there's a (hidden) command to copy the full path and filename of a selected file to the clipboard."
In what way does this NOT work?
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

The command cm_CopyFullNamesToClip has an advantage to the "commandline" way: It supports multiselection.
CoolWater
Power Member
Power Member
Posts: 737
Joined: 2003-03-27, 16:33 UTC

Post by *CoolWater »

:oops: well, i didn't see he just wanted to copy the filename to the clipboard. i thought he wanted to copy the file itself into the clipbaord, sry pals :)
H.W. Alting
Junior Member
Junior Member
Posts: 4
Joined: 2003-08-13, 14:16 UTC

Post by *H.W. Alting »

Danke!

I like solution B best. I Never knew there were so many extra commands.

Kind regards to everybody,
H. Alting
User avatar
norfie
Power Member
Power Member
Posts: 1194
Joined: 2003-02-18, 14:18 UTC

Post by *norfie »

Last edited by norfie on 2004-09-10, 21:25 UTC, edited 1 time in total.
User avatar
Lar5
Junior Member
Junior Member
Posts: 18
Joined: 2003-04-11, 19:06 UTC
Location: Denmark

Post by *Lar5 »

If you dare to use the mouse PathCopyEx is a nice little tool.
Post Reply