Diasfora
Computer/Technology => Computer => Topic started by: frankcapri on February 26, 2009, 09:22:02 AM
-
Posted this over on Demonoid, and I thought I'd share it here, too :)
I came across this handy method of making text lists of files
1. Open up notepad. (can use run command "notepad")
2. copy and paste this "dir /b /on > cdlist.txt" without the ""
3. click save as.
4. name it whatever you want, but remember to save it as a .BAT extension!
5. place the .BAT file wherever you want to make a list
6. double click it
7. open cdlist.txt in that folder
It works flawlessly.
This is especially helpful if you're trying to put together a spreadsheet
of what you have. One drawback is that it creates a text list of whatever
your folders/files are named, so if these aren't labeled properly, it's basically useless to you.
Additionally, if you have a folder with sub-folders, it will not compile a list of what is in those
sub-folders, just the folders themselves.
Even with these drawbacks, I still think it's extremely useful :)
-
To get the sub-directories too use the /s switch in the command. Why use a batch file? just navigate to the directory and enter from the command line (one of those context menu additions "open command window here" if you are lazy in this regard).
-
Thanks both you guys as I need a method to catalogue files.
-
To get the sub-directories too use the /s switch in the command. Why use a batch file? just navigate to the directory and enter from the command line (one of those context menu additions "open command window here" if you are lazy in this regard).
Because I don't know very much about stuff like this :D
On Demonoid, GreatWizard linked to this useful program that does all this and more
http://www.portablefreeware.com/?id=1171 (http://www.portablefreeware.com/?id=1171)
-
Thanks for the info.
-
I realize the date on this thread but I figured I'd post here anyway in regards to listing all contents including subfolders as well as their contents. It virtually lists everything in the folder it's created in,not quite sure if that includes hidden files/folders but it's still the best method I know of.
open notepad, paste tree /f /a >treelisting.txt
, save it as.. movies.bat (or whatever) and save it in which folder you want to make a list then double click it and it'll save a text file there listing things within the folder and sub-folders.
A friend taught me this a while back.
-
No need to put it in a .bat file. Just run it in a cmd prompt and it will save the "treelisting.txt" file in whatever folder the cmd prompt is currently in.
-
Ah, forgot to cut out the "save as .bat". I was copying and pasting this from a a word doc I use as reference. Thanks for pointing that out. :) Methiah also mentioned that, silly me. :P
-
thanks guys .. I'm going to save this whole thread ... very helpful
-
Because I don't know very much about stuff like this :D
On Demonoid, GreatWizard linked to this useful program that does all this and more
http://www.portablefreeware.com/?id=1171 (http://www.portablefreeware.com/?id=1171)
I tried the app the above link refers to and it works well (Thanks for the post Frankcapri), but I cant seem to get the application to number my audio files automatically for a Trackslist. Although I can do it manually after the text file is generated, Would anyone know how or if this app can do this automatically?