Powered by Blogger.

Social Icons

Featured Posts

Showing posts with label folder. Show all posts
Showing posts with label folder. Show all posts

Create directory list from command prompt on Windows

Tuesday, July 11, 2017

Navigate to folder and run following command

dir > FileName.txt
or
dir > Complete Folder Path/Filename.txt

dir >> Filename.txt will append data to existing file 

dir /s > FileName.txt will include sub-directories

dir /b > Filename.txt will save in Bare format

For more options run dir /?
 

Translate

Popular Posts