To check and print all the sub folders and file names counts inside one Drive or Folder

To check and print all the sub folders and file names, counts inside one Drive or Folder.It’s just one command to check all these things and save it in a notepad.

Let’s suppose we need all the sub folders, file names which reside one folder named “Test” in D drive.

Command

Go to  Run, Type CMD to open command prompt.

Go to D prompt, by typing D:

Then D:\>cd Test

Now you are in Test folder and type the command D:\Test>dir /s== >result.txt 

result.txt is the file name which includes all the sub directories and file names inside the folder D:\Test.

I can reach at : durgacharanojha@yahoo.co.in

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.