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

Understanding User Account Control

User Account Control is a security mechanism that defends against malware or accidents from making system-level changes ...

Discover More

Moving and Resizing Windows

The ability to work on multiple things simultaneously is a hallmark of Windows. If you have many windows up at once, ...

Discover More

Sharing Resources on a Network

Business or home networks can make efficient use of resources by sharing them. You can establish a print server and/or a ...

Discover More
More WindowsTips

Using Robocopy to Mirror Directories

It's simple to use Robocopy when dealing with entire directories. Dealing with directories is what it does best! This top ...

Discover More

Customizing File Explorer's Display

File Explorer is a powerful utility to use for navigating among your files and folders. And it can be customized a great ...

Discover More

Understanding and Using File Attributes

Every file has several attributes associated with it. These attributes can be turned on or off in a couple of ways and ...

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 four minus 0?

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