Your Ad Here Your Ad Here
Results 1 to 10 of 10

Thread: [REQ] Really Simple Proggie

  1. #1
    Poster BT Rep: +17BT Rep +17BT Rep +17BT Rep +17
    Join Date
    Jan 2008
    Posts
    372
    Ok so I'm looking for a program that I can direct to a folder with a large number of files inside and it will output the names of all hte files to a text file or just to text that I can copy and paste. It seems to simple NOT to exist, but because its so simple I can't seem to search for it without getting 10,000 results on sourceforge :/

    any help?

  2. Software & Hardware   -   #2
    cmd.exe
    dir c:\whatever
    ls
    Last edited by jmagar; 02-17-2008 at 05:25 PM.

  3. Software & Hardware   -   #3
    Poster BT Rep: +17BT Rep +17BT Rep +17BT Rep +17
    Join Date
    Jan 2008
    Posts
    372
    and itll export a list?

    k i figured this out
    i need to know how to export to a text file now
    anyone ? :]
    Last edited by ghost716; 02-17-2008 at 05:59 PM. Reason: Automerged Doublepost

  4. Software & Hardware   -   #4
    4play's Avatar knob jockey
    Join Date
    Jan 2003
    Location
    London
    Age
    35
    Posts
    5,530
    cmd.exe
    dir c:\whatever
    dir > test.txt

    you now have all the filenames in that directory in the test.txt file.

  5. Software & Hardware   -   #5
    Poster BT Rep: +17BT Rep +17BT Rep +17BT Rep +17
    Join Date
    Jan 2008
    Posts
    372
    yep i already figured it out
    thanks guys :]

  6. Software & Hardware   -   #6
    mbucari1's Avatar Poster BT Rep: +35BT Rep +35BT Rep +35BT Rep +35BT Rep +35BT Rep +35BT Rep +35
    Join Date
    Jan 2007
    Age
    30
    Posts
    2,871
    actually, "dir /b > list.txt" would be better. The /b switch outputs just the file names and not any attributes.

  7. Software & Hardware   -   #7
    Poster BT Rep: +17BT Rep +17BT Rep +17BT Rep +17
    Join Date
    Jan 2008
    Posts
    372
    this is what i did, tell me if you have a better idea

    f:\> (this is the root that im in) dir /s movies\ >> f:\results.txt

    i think thats what it was atleast
    tell me if it looks wrong lol
    but it worked
    it had attributes tho, which i wasnt exactly happy about lol

  8. Software & Hardware   -   #8
    mbucari1's Avatar Poster BT Rep: +35BT Rep +35BT Rep +35BT Rep +35BT Rep +35BT Rep +35BT Rep +35
    Join Date
    Jan 2007
    Age
    30
    Posts
    2,871
    Quote Originally Posted by ghost716 View Post
    this is what i did, tell me if you have a better idea

    f:\> (this is the root that im in) dir /s movies\ >> f:\results.txt

    i think thats what it was atleast
    tell me if it looks wrong lol
    but it worked
    it had attributes tho, which i wasnt exactly happy about lol
    then read the post above yours, the /b switch removes the attributes.

  9. Software & Hardware   -   #9
    Poster BT Rep: +25BT Rep +25BT Rep +25BT Rep +25BT Rep +25
    Join Date
    Nov 2007
    Posts
    398
    nice work thanks

  10. Software & Hardware   -   #10
    Poster BT Rep: +17BT Rep +17BT Rep +17BT Rep +17
    Join Date
    Jan 2008
    Posts
    372
    yep thanks guys
    got it working now, thanks for all your help

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
  •