Thursday, June 2, 2011

How to list all files and folders in windows

Today i wanted a list of all files and folders for my deployment list. I was looking for a DOS command which would do that for me and found the bellow command would do so.

dir /s /b

Example, if i run this command in my directory “C:\Downloads\softwares” then it’ll list all files and folders


C:\Downloads\softwares>dir /s /b
C:\Downloads\softwares\browsers
C:\Downloads\softwares\texteditors
C:\Downloads\softwares\browsers\ChromeSetup.exe

No comments:

Post a Comment