Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Anonymous
Anonymous asked in Computers & InternetProgramming & Design · 1 decade ago

How can I print a list of all folders and subfolders of a directory?

I just need it outup into a text file. I am using this on a work computer so I can't install new software unless maybe it's freeware.

3 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    start - run: cmd [enter]

    type:

    CD\ [enter]

    TREE "path to folder" > C:\dirs.txt [enter]

    Do include the quotation marks, so that folder paths with spaces are treated correctly.

    When it's done, you'll have a text file called dirs.txt in your C:\ root.

  • Anonymous
    5 years ago

    yes an old trick from win 95 yet still works today.... open the fold and display in list form then hit print screen..... go to wordpad in your start menu -> all prgrams -> accessories and then hit the paste button ( the one with the clipboard on it )..... your screen shot will show up if you have more files you will have to repeat the first 3 steps again but scrolled down in the folder after printing the page.....

  • C B
    Lv 4
    1 decade ago

    use the tree command in the command prompt. Look it up to find out how to save the output to a text file as I can't remember how at the moment.

Still have questions? Get your answers by asking now.