Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all, we have some important news to share. Please follow the link here to find out more!

https://www.boards.ie/discussion/2058419143/important-news/p1?new=1

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