Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

File names > Word documents

  • 09-09-2009 07:41PM
    #1
    Posts: 15,055 ✭✭✭✭


    Hey all,


    Just wondering if anyone can tell me, is there any way I can get the names of all my folders in a certain place, turned into a word document, without having to resort to typing out the name of every folder one by one?


    I know its a bit odd, and I doub't there's an easy way out, but I'd really rather not have to type all folder names out if i can avoid it.



    Cheers :)


Comments

  • Registered Users, Registered Users 2 Posts: 161 ✭✭TeaServer


    Its easy to put a list together in a text file. You can then save the text file as a word doc.

    Press Windows Key and R
    In the Run dialog type 'cmd' and press return (no quotes)
    Change to the desired location that you want to list the directories using 'cd' eg cd C:\KKV\Music
    type
    dir /A:D /B > my_list.txt
    
    Now you will have a text file called my_list.txt in the same location with a list of all your directories.

    /T


  • Posts: 15,055 ✭✭✭✭ [Deleted User]


    Took a little messing around, but I got it. Thanks a lot! :)


Advertisement