27.2 C
Cuttack
Thursday, April 18, 2024
HomeWindowsTo check and print all the sub folders and file names counts...

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
Durga Charan Ojhahttps://lifeonnetwork.com/
I am a proud Indian, proud father, a blogger, Being in a profession as System administrator, my passion is troubleshooting computer issues, I do like sharing solutions through blogging making videos of solving issues.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular