How can I create a list of folders in WORD without retyping them all?

Page 1 of 3 123 LastLast

  1. Posts : 6
    windows 7 home premium
       #1

    How can I create a list of folders in WORD without retyping them all?


    I have many folders with names of clients and would occasionally like to print a list but without retyping them I can't seem to do that. I also have photos that I would like a physical list of but again without retyping them all.
    Any ideas?
      My Computer


  2. Posts : 543
    Windows 7 Ultimate x64
       #2

    Using DIR command in CMD to list folders.


    Hello, this is a little bit of a crude way of doing it but it will work.

    Click Start>Run. Type 'cmd'. In the command prompt change the directory to the folder you want by typing 'cd /D FOLDERLOCATION' and click enter. An example: 'cd /D C:\Folders'.

    Then type 'dir' and press enter.

    This will list the folder names as well as a few other bits of information. Right click within the command prompt and select mark. Highlight the text and click enter to copy. Then paste into word.

    Another command is 'dir > C:\Folders.txt'. This will save the information on your C: Drive in a text file called folders.txt.

    Simply open the txt file with notepad and copy the contents into word. You will probably have to remove some of the other information like folder size.

    I hope this helps.


    Dave
    Last edited by Dave Atkin; 04 Dec 2011 at 17:56. Reason: Change
      My Computer


  3. Posts : 6,285
    Windows 10 Pro X64
       #3

    If you use dir /b then you get just the filename.ext and no other info.
      My Computer


  4. Posts : 543
    Windows 7 Ultimate x64
       #4

    Ztruker is correct. I couldnt remember what the switch was :).

    Dave
      My Computer


  5. Posts : 6
    windows 7 home premium
    Thread Starter
       #5

    Thank you both for your suggestions but there is something I am not understanding. My system is Italian running Windows 7. I click 'start' there is a box for searching to find a file. No 'RUN'. I entered your second suggestion in the box 'dir>C:\Folders.txt' and a list came up. It didn't save automatically as I assumed it would so I went to repeat the action, this time an abbreviated list of folders came up in the 'START' box not on the full screen.
    So I tried your first suggestion. Typing 'cmd' into the search box brought up a small black screen with C:\Users\MY NAME> but when I entered the folder name it wouldn't give me access.
    What am I doing wrong?
      My Computer


  6. Posts : 1,846
    Windows 7 Ultimate x64, & Mac OS X 10.9.2
       #6

    Click start/windows Type "run" in the box and it will find the "run" application at the top, open that and then type CMD to enter command prompt

    Sent from my BlackBerry 9900 using Tapatalk
      My Computer


  7. Posts : 126
    Windows 7 Pro 32bit / Windows 7 Professional
       #7

    You can click your way to the folder in question in Windows Explorer as well, Shift + Right Click the folder and choose Open command window here. Then use "dir /b > list.txt" to create a Notebook text file containing your list.

    Best Wishes,
    Rªnce
      My Computer


  8. Posts : 6
    windows 7 home premium
    Thread Starter
       #8

    I must be really stupid! I do what you say and it works but then what. The command window opens I type in the command at the end of the string showing, I hit enter and it simply repeats the initial string on the line below. It won't do anything else.
      My Computer


  9. Posts : 6,285
    Windows 10 Pro X64
       #9

    To open a Run window, press the Windows key (next to the left Ctrl key) and the R key together.

    To enable Run: Enable Run Command on Windows 7 or Vista Start Menu

    or ... ( I love giving choices), click on Start, All Programs, Accessories, Command Prompt.
    If you need an elevated Command Prompt, right click on Command Prompt and select Run as Administrator instead of left clicking on it.
      My Computer


  10. Posts : 6
    windows 7 home premium
    Thread Starter
       #10

    I love the Windows key and 'R' key together. That was easy. Now I am getting a message that says it will not give me access.
    The BIG problem is that you all assume I KNOW stuff, (and I don't )
    I have a 30 photos in a file,... User>MYNAME>Images>CLIENT ALBUMS>SMITH
    I need to make a list of the names of these photos without retyping them. Can I? If so HOW?
    I have 16 FOLDERS in Raccolte>Immagini>Immagini>MY PARISH ALBUMS>Colle San Magno>
    I need to make a list of the FOLDERS without retyping.
      My Computer


 
Page 1 of 3 123 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:28.
Find Us