<!-- --><!-- --><style type="text/css">@import url(http://www.blogger.com/static/v1/v-css/navbar/697174003-classic.css); div.b-mobile {display:none;} </style> </head><body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener("load", function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <iframe src="http://www.blogger.com/navbar.g?targetBlogID=4418468832872412269&amp;blogName=Planet+MarZ&amp;publishMode=PUBLISH_MODE_BLOGSPOT&amp;navbarType=BLACK&amp;layoutType=CLASSIC&amp;searchRoot=http://planetmarzfilez.blogspot.com/search&amp;blogLocale=en_US&amp;homepageUrl=http://planetmarzfilez.blogspot.com/&amp;vt=3225872200978427426" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" height="30px" width="100%" id="navbar-iframe" allowtransparency="true" title="Blogger Navigation and Search"></iframe> <div></div>

How to Make a List Of Directories (& Files) With 2 Clicks

Wednesday, April 23, 2008


Top Blogs

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.





posted by Marvstyles
12:18 AM

0 Comments:

Post a Comment

<< Home