Author Topic: Easy Way to Make a List of Your Files  (Read 8377 times)

0 Members and 1 Guest are viewing this topic.

Offline frankcapri

  • Human
  • *****
  • Posts: 1567
Easy Way to Make a List of Your Files
« 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  :)
Size, it doesn't matter to me so long as I get it...Gotta go now.

Offline Methiah

  • Australopithecus
  • *
  • Posts: 74
  • Gender: Male
  • Follically Challenged
Re: Easy Way to Make a List of Your Files
« Reply #1 on: February 27, 2009, 01:48:51 PM »
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).


Offline smokester

  • Administrator
  • Q
  • *
  • Posts: 15943
  • Gender: Male
  • Da mihi castitatem et continentiam, sed noli modo!
Re: Easy Way to Make a List of Your Files
« Reply #2 on: February 27, 2009, 02:05:35 PM »

Thanks both you guys as I need a method to catalogue files.
Don't put off until tomorrow, what you can put off until the day after.

There is an exception to every rule, apart from this one.

Offline frankcapri

  • Human
  • *****
  • Posts: 1567
Re: Easy Way to Make a List of Your Files
« Reply #3 on: February 27, 2009, 02:12:15 PM »
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
Size, it doesn't matter to me so long as I get it...Gotta go now.

Offline laama

  • Homo Superior
  • ******
  • Posts: 2564
Re: Easy Way to Make a List of Your Files
« Reply #4 on: February 27, 2009, 05:16:51 PM »
Thanks for the info.
i'm waiting for someone to start an antisocial networking site.


Offline hmed2390

  • Human
  • *****
  • Posts: 1980
  • Gender: Male
  • Oh boy what a big mess, even Mickey's on acid!
Re: Easy Way to Make a List of Your Files
« Reply #5 on: June 05, 2009, 10:39:51 PM »
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
Code: [Select]
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.
A person who won't read has no advantage over one who can't read. -Mark Twain

Offline dweez

  • Global Moderator
  • Q
  • *
  • Posts: 11622
  • Gender: Male
  • Rebel Mod
Re: Easy Way to Make a List of Your Files
« Reply #6 on: June 05, 2009, 11:43:40 PM »
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.
--dweez

Offline hmed2390

  • Human
  • *****
  • Posts: 1980
  • Gender: Male
  • Oh boy what a big mess, even Mickey's on acid!
Re: Easy Way to Make a List of Your Files
« Reply #7 on: June 05, 2009, 11:44:56 PM »
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
A person who won't read has no advantage over one who can't read. -Mark Twain

Offline pandorasquest

  • Australopithecus
  • *
  • Posts: 10
Re: Easy Way to Make a List of Your Files
« Reply #8 on: June 12, 2009, 02:31:15 PM »
thanks guys ..  I'm going to save this whole thread ... very helpful

Offline hittz

  • Australopithecus
  • *
  • Posts: 20
  • Gender: Male
    • Technogrammaton.org
Re: Easy Way to Make a List of Your Files
« Reply #9 on: October 05, 2009, 11:10:12 PM »
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

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?
« Last Edit: October 05, 2009, 11:15:37 PM by hittz »