Results 1 to 3 of 3

Thread: Simple Question: Contents of Folder Into Txt File

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2001
    Posts
    102

    Simple Question: Contents of Folder Into Txt File

    I just want to take a directory listing of a folder on my computer (happens to be MP3s and about 150 folders) and input it all into a text file. Any ideas on the simplest way to do this? (Not in programming, just me doing)

    Thanks!

  2. #2
    Member
    Join Date
    May 2003
    Posts
    59
    DIR /S > FOO.TXT

  3. #3
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Using /s will perform a recursive search.
    To just get that one folder :

    Code:
    dir > foo.txt
    Or to get that folder and all sub folders, as already stated :
    Code:
    dir /s > foo.txt
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

Posting Permissions

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



Click Here to Expand Forum to Full Width