Displaying the Number of Files or Folders within a Folder

Written by Barry Dysert (last updated August 20, 2018)

1

Both Windows Explorer (Windows 7) and File Explorer (Windows 8 and 10) are handy utilities that you can use to display the number of files or folders within a folder. Navigate to the folder you're curious about and ensure that no file or folder is selected in the details pane. In the lower left corner of the status area, the total number of items in the current folder is displayed. For example, the following figure shows that there are 13 items in my August Projects folder. (See Figure 1.)

Figure 1. File Explorer window showing 13 items in the August Projects folder.

Note that these 13 items include both folders and files. Since I have organized the layout of the details pane such that folders appear at the top of the pane, I can easily determine how many folders there are and how many files there are. One way to do this is by selecting the top folder, holding the Shift key, and then selecting the bottom folder. This results in the number 2 being displayed in the status area, indicating that there are 2 folders selected in the August Projects folder. (See Figure 2.)

Figure 2. File Explorer window showing 2 folders selected in the August Projects folder.

Obviously, then, the number of files in August Projects would be 13 minus 2, or 11. If there were a large number of items in the folder, you could apply the same technique, but select the files instead of the folders. This would then result in the number of files being displayed in the status area instead of the number of folders. (And it would save you from having to perform the subtraction yourself.)

 This tip (12389) applies to Windows 7, 8, and 10.

Author Bio

Barry Dysert

Barry has been a computer professional for over 35 years, working in different positions such as technical team leader, project manager, and software developer. He is currently a software engineer with an emphasis on developing custom applications under Microsoft Windows. When not working with Windows or writing Tips, Barry is an amateur writer. His first non-fiction book is titled "A Chronological Commentary of Revelation." ...

MORE FROM BARRY

Restoring from a Backup

Being able to restore from a backup is just as important as making the backup in the first place. This tip tells you how ...

Discover More

Understanding Windows Defender

There are a myriad of computer viruses always looking for new systems to infect. You can mitigate your risk of being ...

Discover More

Understanding Virtual Memory

Computers can address far more locations than may exist in physical memory. The key to this feature is the use of virtual ...

Discover More
More WindowsTips

Copying Data with XCopy

XCopy is a file and directory copy utility built into Windows. If you have a lot of file management to do that can't ...

Discover More

Sorting a Folder

When you have a lot of files in a folder, it is helpful to be able to know how to sort through all the files. Windows 10 ...

Discover More

Understanding Indexed Search

Windows has a powerful search utility that allows you to search for files that may be scattered across separate folders ...

Discover More
Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 2 + 2?

2018-08-20 11:44:15

Charles Ruffin

Another way to do this is to single click (select) on the folder. THen Right-click and select properties. The folder properties list the total number of files contained in the folders and sub-folders as well as the total number of sub-folders under the target folder. This gives me the information I want to know before copying to another disk or folder.


Newest Tips