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 30 years, working in different positions such as technical team leader, project manager, and software developer.  He is currently a senior software engineer with an emphasis on developing custom applications under Microsoft Windows. ...

MORE FROM BARRY

Using the Sign Out Feature

To switch users without going through the lengthy reboot process, just sign out. It's not too obvious how to do this, but ...

Discover More

Changing How Event Log Overruns are Handled

By default, the event logs are implemented in a circular buffer, i.e., when its maximum size is reached, the oldest events ...

Discover More

CutePDF Writer

CutePDF Writer is an extremely versatile utility that allows you to create PDF files from virtually any application that ...

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 easily ...

Discover More

Working with Compressed Files and Folders via Zip

Windows 10 provides multiple ways to work with compressed files and folders. One great way is to use the Zip utility, which ...

Discover More

Understanding Storage Spaces

Need to add some addition drive space to your system? Why not consider adding what Microsoft calls a "storage space?" 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. 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 three minus 2?

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.