Displaying the Number of Files or Folders within a Folder

by Barry Dysert
(last updated April 6, 2015)

Both Windows Explorer (Windows 7) and File Explorer (Windows 8) 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 12 items in my Temp folder. (See Figure 1.)

Figure 1. Windows Explorer window showing 12 items in the Temp folder.

Note that these 12 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 4 being displayed in the status area, indicating that there are 4 folders in the Temp folder. (See Figure 2.)

Figure 2. Windows Explorer window showing 4 folders selected in the Temp folder.

Obviously, then, the number of files in Temp would be 12 minus 4, or 8. If there were a large number of items in the folder, you could perform the same action 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 and 8.

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

What is the Purpose of the Forwarded Events Event Log?

The Forwarded Events event log collects events that have been forwarded from other computers. In this way you can login ...

Discover More

Moving the Pictures Library

The Pictures folder is one of several system libraries created in Windows by default. This library is specifically ...

Discover More

Using Robocopy to Copy Entire Directories

It's simple to use Robocopy to copy entire directories. Dealing with directories is what it does best! This tip shows you ...

Discover More
More WindowsTips

Assigning a Picture to a Folder

Windows allows you to customize many aspects of its user interface. One thing you can modify is how a folder's icon ...

Discover More

Seeing which Files are Compressed

Compressed files can make it easier to store a lot of information on a hard drive. However, compressed files aren't that ...

Discover More

Making a File Read-Only

If you have an important file that you want to be sure doesn't get accidentally edited, you can set it to read-only. This ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

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}] 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 five less than 7?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.