shell List contents of Directory

cd \
M:
dir /b *.* > C:\music.txt

#REM or as a single command:
C:\Directory dir /b *.* > C:\textfilename.txt
List the files/folders within a specified directory and saves the list to a text file.

Updated: Wednesday 10th November 2010, 05:07am

There are 0 comments

Leave a comment of your own

Comments are currently closed.