Column for folder and file count
-
carter
- Posts: 92
- Joined: 10 Jul 2019 16:37
- Location: w10,64b
Column for folder and file count
Column for count total no of files and folder in a folder
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Column for folder and file count
Use a custom column like this:
Script:
return foldersize(<cc_item>, "D: <d> / F: <f>");To see the attached files, you need to log into the forum.
One of my scripts helped you out? Please donate via Paypal
-
carter
- Posts: 92
- Joined: 10 Jul 2019 16:37
- Location: w10,64b
Re: Column for folder and file count
I don't want it to show separately for files and folders i want the total count of files and folders as a number
-
jupe
- Posts: 3569
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Column for folder and file count
Not sure if this does exactly what you want, but if you enable folder sizes:
Tools | Customize List | Show Folder Sizes
And enable this:
Configuration | General | Tree and List | List | Show item count with folder sizes
It shows what you are requesting, but it is recursive totals and can't be easily sorted by, if you want it for only one folder deep you still have the option of using a different custom column, such as
Tools | Customize List | Show Folder Sizes
And enable this:
Configuration | General | Tree and List | List | Show item count with folder sizes
It shows what you are requesting, but it is recursive totals and can't be easily sorted by, if you want it for only one folder deep you still have the option of using a different custom column, such as
return listfolder(<cc_item>, , 32); or if you want it recursive and sort-able you could modify the previously supplied script and combine the values. Looking up the commands you have already been provided in the help file would probably be beneficial.-
carter
- Posts: 92
- Joined: 10 Jul 2019 16:37
- Location: w10,64b
Re: Column for folder and file count
highend, help me with an other script
-
jupe
- Posts: 3569
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Column for folder and file count
return eval(foldersize(<cc_item>, "<d>+<f>"));-
carter
- Posts: 92
- Joined: 10 Jul 2019 16:37
- Location: w10,64b
Re: Column for folder and file count
many thx,now how to apply this column for all tabs at once
-
jupe
- Posts: 3569
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Column for folder and file count
View | Folder View Settings | Define this Folder View as Default
Then depending on your settings etc, you might need to run this on each previously opened tab:
View | Folder View Settings | Restore Folder View
or alternatively just reopen new replacement tabs.
>>> Moved to T&T Q&A
Then depending on your settings etc, you might need to run this on each previously opened tab:
View | Folder View Settings | Restore Folder View
or alternatively just reopen new replacement tabs.
>>> Moved to T&T Q&A
XYplorer Beta Club