how to get a filelist with path ánd JUST size, date (cm_CopyFullNamesWithSizeToClip???)
Moderators: Hacker, petermad, Stefan2, white
how to get a filelist with path ánd JUST size, date (cm_CopyFullNamesWithSizeToClip???)
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?
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! ;)
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! ;)
Re: how to get a filelist with path AND size, date (cm_CopyFullNamesWithSizeToClip???)
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.
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
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: how to get a filelist with path ánd JUST size, date (cm_CopyFullNamesWithSizeToClip???)
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
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! ;)
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! ;)
Re: how to get a filelist with path ánd JUST size, date (cm_CopyFullNamesWithSizeToClip???)
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
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
- ghisler(Author)
- 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???)
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
1=Name+Extension
2=First additional column
4=Second additional column
etc.
Create separate columns for path and name, and then only extract those columns.is there a way to separate the Path from the Filename with Tab, like it now does for Size and Date
Example: To copy only the first two additional columns without name+extension, use
cm_CopyFpFileDetailsToClip 6
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: how to get a filelist with path ánd JUST size, date (cm_CopyFullNamesWithSizeToClip???)
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.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












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! ;)
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! ;)
Re: [Solved] Can search results display only file names?
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! ;)
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! ;)