how to get a filelist with path ánd JUST size, date (cm_CopyFullNamesWithSizeToClip???)

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
brian
Junior Member
Junior Member
Posts: 67
Joined: 2003-09-25, 01:14 UTC
Contact:

how to get a filelist with path ánd JUST size, date (cm_CopyFullNamesWithSizeToClip???)

Post by *brian »

I can save my search results to a text file easily, by selecting them all, then do a Copy of filenames and path to the cliplboard with [Ctrl+Shift+C). But the filelist then has just a path and filename. Not the correponding size in bytes, KB or MB, and no date. Now, I don't care about date info so much, but how do I save the filelist with path, filename and size?

EDIT: I found cm_CopyFpFileDetailsToClip
This almost does what I want, but I don't want the extra SIZE and ATRRIBUTE info, so how do I get a filelist to the clipboard with the
* path
* filename
* size
I see something about parameters, but how do I work with those?
Last edited by brian on 2024-09-02, 15:53 UTC, edited 1 time in total.
We call it WindowsCommander because it commands Windows, not "Total".
even though it'd be cool to command a 7 trillion dollar oil company
It won Best Alternative File Manager
http://polldaddy.com/poll/810222/
First comment = my girl! ;)
User avatar
Dalai
Power Member
Power Member
Posts: 9949
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: how to get a filelist with path AND size, date (cm_CopyFullNamesWithSizeToClip???)

Post by *Dalai »

What you probably want is cm_CopyFileDetailsToClip or cm_CopyFpFileDetailsToClip. Both of these commands are already available in TC's default menu via Mark > Copy To Clipboard With All Details and Mark > Copy To Clipboard with Path+Details respectively.

If you don't care about file date and attributes you can set up a custom columns view containing only the columns you want (i.e. name and size). The aforementioned commands will only copy what's visible in TC.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
brian
Junior Member
Junior Member
Posts: 67
Joined: 2003-09-25, 01:14 UTC
Contact:

Re: how to get a filelist with path ánd JUST size, date (cm_CopyFullNamesWithSizeToClip???)

Post by *brian »

okay, thanks for that additional info
PS
is there a way to separate the Path from the Filename with Tab, like it now does for Size and Date
We call it WindowsCommander because it commands Windows, not "Total".
even though it'd be cool to command a 7 trillion dollar oil company
It won Best Alternative File Manager
http://polldaddy.com/poll/810222/
First comment = my girl! ;)
User avatar
Dalai
Power Member
Power Member
Posts: 9949
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: how to get a filelist with path ánd JUST size, date (cm_CopyFullNamesWithSizeToClip???)

Post by *Dalai »

As I said: Create a custom columns view to get the information the way you want.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: how to get a filelist with path ánd JUST size, date (cm_CopyFullNamesWithSizeToClip???)

Post by *ghisler(Author) »

The command also accepts a numeric parameter, which is a sum of the columns you want to copy:
1=Name+Extension
2=First additional column
4=Second additional column
etc.
is there a way to separate the Path from the Filename with Tab, like it now does for Size and Date
Create separate columns for path and name, and then only extract those columns.

Example: To copy only the first two additional columns without name+extension, use
cm_CopyFpFileDetailsToClip 6
Author of Total Commander
https://www.ghisler.com
User avatar
brian
Junior Member
Junior Member
Posts: 67
Joined: 2003-09-25, 01:14 UTC
Contact:

Re: how to get a filelist with path ánd JUST size, date (cm_CopyFullNamesWithSizeToClip???)

Post by *brian »

ghisler(Author) wrote: 2024-09-03, 09:54 UTC The command also accepts a numeric parameter, which is a sum of the columns you want to copy:
1=Name+Extension
2=First additional column
4=Second additional column
etc.
Example: To copy only the first two additional columns without name+extension, use
cm_CopyFpFileDetailsToClip 6
thank you, this was the exact answer I was looking for, especially your example was helpful, since it told me that I would have to separate the parameter with a simple space. I imagine can make several buttons with different selections of columns, like some with duration info or a button which copies name and FramesPerSecond, Subtitles etc. :D :D :D :D :D :lol: :lol: :lol: :lol: :mrgreen: :mrgreen: :mrgreen:
We call it WindowsCommander because it commands Windows, not "Total".
even though it'd be cool to command a 7 trillion dollar oil company
It won Best Alternative File Manager
http://polldaddy.com/poll/810222/
First comment = my girl! ;)
User avatar
brian
Junior Member
Junior Member
Posts: 67
Joined: 2003-09-25, 01:14 UTC
Contact:

Re: [Solved] Can search results display only file names?

Post by *brian »

That took 4 people before the question was actually answered, not cos no-one knew the answer, but because the Old Guard (i say this lovingly) was "stumped" or "surprised". It's almost as if they refused (?) to give the relatively easy answer (Custom Columns of one and cm_CopyFpFileDetailsToClip) before they understood what it was for. A great example of how very experienced people see a thing through a lens, and can't fathom if someone goes outside that lens. As a sociologist, this things are pearls.

Moderator message from: petermad » 2024-09-06, 12:06 UTC

Moved from "[Solved] Can search results display only file names?" to how to get a filelist with path ánd JUST size, date (cm_CopyFullNamesWithSizeToClip???) - since the post was obviously misplaced and off-topic in the other topic
We call it WindowsCommander because it commands Windows, not "Total".
even though it'd be cool to command a 7 trillion dollar oil company
It won Best Alternative File Manager
http://polldaddy.com/poll/810222/
First comment = my girl! ;)
Post Reply