
1) Make a new .txt document & open it in notepad.
2) Add this line (suit to your needs):
tree /a /f "c:\mp3" > "c:\mylist.txt"
(include quotation marks)
c:\mp3 - dir to list
/f - means also files will be written - omit this if you want to list only dirs
c:\mylist.txt - says where the list will be written & how its named.
3) Close notepad & rename the document to "list_music.bat" (without quotation marks) (any filename will do as long as the extension is .bat).
4) Double-click the .bat file & you'll get a nice looking list of the directories (and files) in a .txt file.
0 Comments:
Post a Comment
<< Home