Close

Page 1 of 2 12 LastLast
Results 1 to 20 of 23
  1. #1
    DF VIP Member ThE gOg's Avatar
    Join Date
    Dec 2004
    Location
    uk
    Posts
    2,016
    Thanks
    76
    Thanked:        1
    Karma Level
    356

    Default is there a way of getting all my filenames in a text list?

    hi

    i have a load of mp3 files that i want to catalogue the names of in excel, how do i get all the filenames e.g. keane, hopes and fears, into a text list rather than having to type them all out:nowords: ?

    is there an easy way of doing this or is there any software out there??

    cheers........Pegz:thumbs

  2. #2
    DF VIP Member /dev/null's Avatar
    Join Date
    Feb 2004
    Location
    Behind You
    Posts
    2,952
    Thanks
    0
    Thanked:        0
    Karma Level
    451

    Default Re: is there a way of getting all my filenames in a text list?

    if they are in the same directory:

    dir /b *.mp3 > myfiles.txt

    Either run from DOS in the appropriate directory or create a batch file,

  3. #3
    DF VIP Member ThE gOg's Avatar
    Join Date
    Dec 2004
    Location
    uk
    Posts
    2,016
    Thanks
    76
    Thanked:        1
    Karma Level
    356

    Default Re: is there a way of getting all my filenames in a text list?

    hi, many thanks for the reply and i don't want to sound ungratefull but i'm a bit of a novice when it comes to dos or basically typing any commands in


    is there any other way or maybe a prog that would do it for me?

    thanks.........Pegz:thumbs

  4. #4
    DF VIP Member /dev/null's Avatar
    Join Date
    Feb 2004
    Location
    Behind You
    Posts
    2,952
    Thanks
    0
    Thanked:        0
    Karma Level
    451

    Default Re: is there a way of getting all my filenames in a text list?

    create a batch file.

    Start---->Accessories---->Notepad

    Type the command into notepad.

    File---->Save As----> [file type] ALL

    Save file as generatelist.bat into the directory where your files are.

    Then go into that directory and double-click on the file that has been created (generatelist.bat). This will now create a further file called "myfiles.txt" which you can then open as normal (it will open in notepad) and this will contain your list.

    John

  5. #5
    DF VIP Member Spennyboy's Avatar
    Join Date
    Sep 2003
    Location
    Stock Exchange
    Posts
    11,193
    Thanks
    221
    Thanked:        121
    Karma Level
    1113

    Default Re: is there a way of getting all my filenames in a text list?

    Quote Originally Posted by John Keymer
    create a batch file.

    Start---->Accessories---->Notepad

    Type the command into notepad.

    File---->Save As----> [file type] ALL

    Save file as generatelist.bat into the directory where your files are.

    Then go into that directory and double-click on the file that has been created (generatelist.bat). This will now create a further file called "myfiles.txt" which you can then open as normal (it will open in notepad) and this will contain your list.

    John
    bluddy hell... sorry for jumping on the thread but that is one wicked piece of information!

    karma awarded! :thumbs

  6. #6
    DF VIP Member /dev/null's Avatar
    Join Date
    Feb 2004
    Location
    Behind You
    Posts
    2,952
    Thanks
    0
    Thanked:        0
    Karma Level
    451

    Default Re: is there a way of getting all my filenames in a text list?

    Glad to be of help, lol. [the power of the CLI! ]

    BTW, if you don't have the files in the same dir, then put that script in the lowest level directory where the files are (explained below) and add "/S" to the dir command

    ie, dir /SB *.mp3 > myfiles.txt

    That will recurse through sub-directories. I omitted it beforew as it can be very slow, but then I guess people don't have all their files in one directory!!!

    **explanation**
    Lowest level directory -
    If you have mp3's in d:\my documents\my music\ and also in d:\my documents\my tunes\ then the lowerst level would be d:\my documents\ as it is the lowest level dir in common with each path. The reason you choose this rather than just d:\ is simply to save time and resources - no point listing every file on your PC if you don't have to!!!




    If I can help any more gimme a shout!

  7. #7
    DF VIP Member ThE gOg's Avatar
    Join Date
    Dec 2004
    Location
    uk
    Posts
    2,016
    Thanks
    76
    Thanked:        1
    Karma Level
    356

    Default Re: is there a way of getting all my filenames in a text list?

    thanks alot, merry xmas to you


    Pegz

  8. #8
    DF VIP Member /dev/null's Avatar
    Join Date
    Feb 2004
    Location
    Behind You
    Posts
    2,952
    Thanks
    0
    Thanked:        0
    Karma Level
    451

    Default Re: is there a way of getting all my filenames in a text list?

    No probs! - Hope you got it working - any problems PM me.

    John.

  9. #9
    DF VIP Member ThE gOg's Avatar
    Join Date
    Dec 2004
    Location
    uk
    Posts
    2,016
    Thanks
    76
    Thanked:        1
    Karma Level
    356

    Help Re: is there a way of getting all my filenames in a text list?

    i keep trying to pm you john but it says i do not have permission?

    anyway my question is if i want to get the file names off a load of folders all in one directory how do i go about that?

    i've tried reading a few dos websites but to tell you the truth i've no better idea now than when i started:|

    cheers m8.....Pegz

  10. #10
    DF VIP Member /dev/null's Avatar
    Join Date
    Feb 2004
    Location
    Behind You
    Posts
    2,952
    Thanks
    0
    Thanked:        0
    Karma Level
    451

    Default Re: is there a way of getting all my filenames in a text list?

    hmmm... Dunon whats up witht he PM then - Will have to have a look later.

    Anyway in relation to your question, simply replace the command in the batch file to the following:

    dir /S /B *.mp3 > myfiles.txt

    This will give the location of the files as well (not sure if you are too bothered about this?) eg:

    d:\myfiles\1.mp3
    d:\myfiles\otherdir\2.mp3

    If you are bothered then let me know and I'll make a script for you to run the file through to clear the directory name and just leave you with the filename.

    John.

  11. #11
    DF VIP Member BertRoot's Avatar
    Join Date
    Sep 2004
    Location
    Poppy Fields
    Posts
    23,955
    Thanks
    1,038
    Thanked:        2,059
    Karma Level
    2513

    Default Re: is there a way of getting all my filenames in a text list?

    May be worth adding that if you want to find the switches available to a particular dos command go to Start-->Run CMD <return> (in XP or command <return> in earlier versins of windows and then type the command e.g. dir with /? after it. This will give you the help for that command. Beofre you mention it I know it doesn't list the use of pipe or > but most DOS commands use them in a similar way.

    e.g. dir /? would return
    Displays a list of files and subdirectories in a directory.
    DIR [drive:][path][filename] [/A[[:]attributes]] [/B] [/C] [/D] [/L] [/N]
    [/O[[:]sortorder]] [/P] [/Q] [/S] [/T[[:]timefield]] [/W] [/X] [/4]
    [drive:][path][filename]
    Specifies drive, directory, and/or files to list.
    /A Displays files with specified attributes.............etc
    ........./4 Displays four-digit years
    Switches may be preset in the DIRCMD environment variable. Override
    preset switches by prefixing any switch with - (hyphen)--for example, /-W.


  12. #12
    DF VIP Member whatnow's Avatar
    Join Date
    Jan 2004
    Location
    London
    Posts
    8,215
    Thanks
    6
    Thanked:        0
    Karma Level
    783

    Default Re: is there a way of getting all my filenames in a text list?

    if you have WMA's (windows media player CD rips) too just do this:

    dir /s /b *.mp3 *.wma > list.txt

    you can add as many *.whatevers as you want to get a full listing.

  13. #13
    DF VIP Member QfanatiQ's Avatar
    Join Date
    Jan 2004
    Location
    Berkshire
    Posts
    3,944
    Thanks
    241
    Thanked:        131
    Karma Level
    437

    Default Re: is there a way of getting all my filenames in a text list?

    Directory Lister, it is Freeware and probably the best peice of software there is. I have over 3k of Rave mp3's and this just listed the lot.

    look here http://freeware.prv.pl/ naigate through.

    Alternativly i can e-mail to you, very small proggy but VERY good. Everyone should have this.

    Cheers.....Q

  14. #14
    DF Rookie sole's Avatar
    Join Date
    Feb 2003
    Location
    UK
    Posts
    11
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Default Re: is there a way of getting all my filenames in a text list?

    Quote Originally Posted by QfanatiQ
    Directory Lister, it is Freeware and probably the best peice of software there is. I have over 3k of Rave mp3's and this just listed the lot.

    look here http://freeware.prv.pl/ naigate through.

    Alternativly i can e-mail to you, very small proggy but VERY good. Everyone should have this.

    Cheers.....Q
    Thanks for that link, that is a quality little program can even generate list as html with links.

  15. #15
    DF Member max's Avatar
    Join Date
    Mar 2004
    Location
    uk
    Posts
    25
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Default Re: is there a way of getting all my filenames in a text list?

    handy app, many thanks

    max

  16. #16
    DF VIP Member coin-op's Avatar
    Join Date
    Mar 2001
    Location
    About
    Posts
    2,670
    Thanks
    60
    Thanked:        199
    Karma Level
    452

    Default Re: is there a way of getting all my filenames in a text list?

    One I used in the past was maxlister.
    It generates a directory tree as a txt file, so you can see all your files and their relative locations.
    Cheers - Coin-Op


  17. #17
    DF VIP Member iqrali's Avatar
    Join Date
    Dec 2004
    Location
    No mans Land
    Posts
    206
    Thanks
    0
    Thanked:        0
    Karma Level
    247

    Default Re: is there a way of getting all my filenames in a text list?

    got to add to this - but that is an awsome piece of info - Thanks!

  18. #18
    DF VIP Member /dev/null's Avatar
    Join Date
    Feb 2004
    Location
    Behind You
    Posts
    2,952
    Thanks
    0
    Thanked:        0
    Karma Level
    451

    Default Re: is there a way of getting all my filenames in a text list?

    Quote Originally Posted by coin-op
    One I used in the past was maxlister.
    It generates a directory tree as a txt file, so you can see all your files and their relative locations.
    if I remember rightly, you can doa similar thing in a batch file. I'm not logged into windows atm, but I'll update you when I am unless someone else would care to?

  19. #19
    DF VIP Member BertRoot's Avatar
    Join Date
    Sep 2004
    Location
    Poppy Fields
    Posts
    23,955
    Thanks
    1,038
    Thanked:        2,059
    Karma Level
    2513

    Default Re: is there a way of getting all my filenames in a text list?

    Quote Originally Posted by John Keymer
    if I remember rightly, you can doa similar thing in a batch file. I'm not logged into windows atm, but I'll update you when I am unless someone else would care to?
    You could do something like

    @echo off
    dir *.txt > bb.txt
    exit

    in a bat file and run it and you should have a list of, in this case files with an extension of txt listed in the file bb.txt. I hope I'm not missing the point here. Any switches you want should be added to the dir command and are listed in my post above.


  20. #20
    DF VIP Member CominAtcha's Avatar
    Join Date
    Jan 2003
    Location
    Nowhere
    Posts
    3,219
    Thanks
    80
    Thanked:        146
    Karma Level
    473

    Default Re: is there a way of getting all my filenames in a text list?

    Quote Originally Posted by QfanatiQ
    Directory Lister, it is Freeware and probably the best peice of software there is. I have over 3k of Rave mp3's and this just listed the lot.

    look here http://freeware.prv.pl/ naigate through.

    Alternativly i can e-mail to you, very small proggy but VERY good. Everyone should have this.

    Cheers.....Q
    Very good.
    If you can smell it, it's in your mouth.
    Click

Page 1 of 2 12 LastLast

Similar Threads

  1. Free Text Guaranteed
    By drew1982 in forum Hall Of Shame
    Replies: 11
    Last Post: 16th April 2003, 10:30 PM

Social Networking Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •