Page 1 of 1

Get Count of Files In Folder?_Get Number of Files In Folder?

Posted: 23 Nov 2008, 13:49
by knightball
Is there any way of determining the number of files in a folder?

Ho I do it now is to go into the the folder and select all (ctrl+A) the files, Then the Bottom Toolbar Gives Me the total number of selected files and directores.

?? Is there something Like ` Calculate Directory Sizes ' - that will give me the number of files in several folders from the parent directory ??

?? Or of creating a column in detail mode to automatically give you tis ??

Thanks.

Re: Get Count of Files In Folder?_Get Number of Files In Folder?

Posted: 23 Nov 2008, 14:12
by Ether
knightball wrote:Is there any way of determining the number of files in a folder?

Ho I do it now is to go into the the folder and select all (ctrl+A) the files, Then the Bottom Toolbar Gives Me the total number of selected files and directores.
That's how we do it, too. Another way is to use the Calculate Occupied Space command (Alt+F10), which will tell you how many files is in the selected directory/ies (including the files in subdirectories).
?? Is there something Like ` Calculate Directory Sizes ' - that will give me the number of files in several folders from the parent directory ??
I didn't quite understand your question here for a while. I presume you want a command which will display the number of files contained in each directory shown in the panel. It's not possible right now, but I believe a simple plugin could do the trick for you (*). If you are a programmer, you can use the Salamander SDK to make a plugin; otherwise I appeal to the programmers reading this to take the task.
?? Or of creating a column in detail mode to automatically give you tis ??
Something very similar was already discussed in this thread: 'calculate directory size automatically'.

*) Now it's possible only by creating a command which will calculate the numbers and show them in a dialog window, or by creating a FS plugin which will act as a layer between the actual filesystem and the user (similar to the demo FS plugin), automatically computing and showing the numbers in a special column. This request is a model case for the Custom Panel Columns feature.

Posted: 23 Nov 2008, 20:16
by knightball
Thanks alot for your reply....