Skip to main content

Notice

Please be aware that much of the software linked to or mentioned on this forum is niche and therefore infrequently downloaded. Lots of anti-virus scanners and so-called malware detectors like to flag infrequently downloaded software as bad until it is either downloaded enough times, or its developer actually bothers with getting each individual release allow listed by every single AV vendor. You can do many people a great favor when encountering such a "problem" example by submitting them to your AV vendor for examination. For almost everything on this forum, it is a false positive.
Topic: How do i add file size in custom column ? (Read 1971 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

How do i add file size in custom column ?

I did not find any settings to show file size, so how can i add it in the custom columns?

How do i add file size in custom column ?

Reply #1
Of course you can: The field name of file size is - surprise - %filesize%. However, it will display the filesize in bytes so it is not too human readable. %filesize_natural% will format automatically to something like "6.05MB". For a complete reference of all %fieldnames% available (apart from the fact that you can define any field you like by just adding it in foobar's file properties dialog) is available in the wiki: Foobar2000:Title Fomratting Reference.

(One hint: using the math and string functions like $replace() you can accomplish pretty much any output format you desire. Other quite handy functions are $select and $strstr.)

How do i add file size in custom column ?

Reply #2
Thanks.  %filesize_natural% Works perfect

How do i add file size in custom column ?

Reply #3
is there anyway to make it 'sort' friendly? since, when i sort by highest, 1.32MB comes before 10.1MB.
thanks

How do i add file size in custom column ?

Reply #4
quick workaround - make a column with %filesize%, sort by it, then collapse it.

 

How do i add file size in custom column ?

Reply #5
sorry, i don't understand, won't %fliesize% give it to me in bytes?
-edit, ohhh i see what you mean! thank you, but, it's not what i want, as you guessed by 'quick workaround'

 
SimplePortal 1.0.0 RC1 © 2008-2021