Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

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

05 Dec 2011   #11

Windows 7 Pro 32bit / Windows 7 Ultimate x64

Use Windows Explorer to navigate to C:\User\UserNAME\Images\.

Right click CLIENT ALBUMS with the shift key pressed (Shift + Right Mouse Click) and choose Open command window here.

At the command prompt type dir /b > list.txt.

That will create a txt file with the names of all of your files.

Double click the list.txt file (It should open in Notepad). Select all of the text and use Edit menu, Copy. Open the file you with to copy the information to and use Edit menu, Paste to enter the data.

Note: when you created the list, you also created a file called list.txt, and THAT FILE will be listed to. You may wish to edit the name of that file out of your list.

Hope this helps. Best Wishes,

My System SpecsSystem Spec
05 Dec 2011   #12
Dave Atkin

Windows 7 Ultimate x64

Put speachmarks aropund your folder path. Ie: dir /b "C:\Users\MYNAME\My Pictures\CLIENT ALBUMS\SMITH"

Windows cmd doesnt like spaces

My System SpecsSystem Spec
05 Dec 2011   #13

Windows 7 Enterprise X64/Windows 10 Enterprise X64/Windows 10 Pro X64/Linux Mint

It probably didn't give you access because you didn't right click on command prompt and select 'run as administrator. Then give administrator permission when it asks.
My System SpecsSystem Spec

06 Dec 2011   #14

Win 7 Ult 64-bit

Use the free program FileDir - it's portable and very useful .
My System SpecsSystem Spec
06 Dec 2011   #15

windows 7 home premium 64bit

What about this little bit of software.

Karen's Directory Printer
My System SpecsSystem Spec
06 Dec 2011   #16

windows 7 home premium

Well, I did say I didn't know 'stuff'. Today I found the 'lists' several of them as I kept trying to create them. I didn't realize it would file them automatically. Now all I have to do is remember which of your suggestions worked for me. Thanks everyone.
My System SpecsSystem Spec
06 Dec 2011   #17

windows 7 home premium

If there are other dummy's out there who have not yet figured it out, do this.
Open the folder you want a list of the contents of in Windows Explorer,
Shift + Right Click the folder on the left of the screen and choose Open command window here. Then use "dir /b > list.txt" at the end of the string to create a Notebook text file containing your list.
The list will instantly appear in the folder.
Amazing. Thanks everyone.
My System SpecsSystem Spec
06 Dec 2011   #18

Windows 7 Pro 32bit / Windows 7 Ultimate x64

Glad you got it to work. The old command prompt is still mightier than the mouse.

Best Wishes,
My System SpecsSystem Spec
06 Dec 2011   #19

Windows 10 Pro X64

Follow the 3rd paragraph of my previous response to open an Elevated Command Prompt. You will be at C:\Users\MYNAME.

Once there, type cd "Images\CLIENT ALBUMS\SMITH" and press Enter. (need the double quotes as shown).
Type dir /b > list.txt and press enter. This puts the output of the dir command into the file called list.txt.

To look at it, type notepad list.txt and press Enter, or use Windows Explorer/My Computer to navigate to that folder and double click on list.txt which will open it in a Notepad window.

Ooops, never mind, I see you got it figured out.
My System SpecsSystem Spec
06 Dec 2011   #20

Windows 7 Professional x86

you need to elevate the cmd box, as described above go through the process until you find cmd.exe
then right click run as administrator, then follow the advice given to get the required output
My System SpecsSystem Spec

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

Thread Tools

Similar help and support threads
Thread Forum
MS Word not in default file associations list
I have installed MS Office Professional 2003 on Windows 7. I cannot get Word to associate with .doc files to open files from Windows. Word is not there as an option to choose as a default program in "Open with" or via "Associate a file type...". I can browse to find WINWORD.EXE within...
Microsoft Office
WLM 2011 -how do I create a new Contact list
Just moved to Windows 7 from XP and struggling with Windows Live Mail (amongst other things!). Very basic question but I can't find how to add a new Contact list.
Browsers & Mail
file name list in word open
When I used to enter a file name in windows 2007 open I would get a list of all files by that name and be able to select the one I wanted. Now I no longer get that list. I don’t know how to be more specific! If you never saw this you would probably not know that this exists!
Microsoft Office
MS Word 7 not appearing in 'all program list'
Hello Everybody, I mistakenly drag the MS Word file from all program list to desktop and later delete that shortcut permanently.Later, when I try to open MS Word from the folder from MS Office from 'All Program List' of start menu;it was not there at all. Now I don't understand how to...
Microsoft Office
Microsoft Word Space between List and Words
Hi, when using a list and a regular formatted text, they are separated by a page. On the left page, there is the regular text, and on the right page is a list I made. Whenever I press delete at where the arrow is pointing, it deletes the words in the list, but not the large space. How can I...
Microsoft Office
Word 2007 Error Message: "Word could not create the work file."
Hi, I have started getting this as an error message on opening Word 2007. "Word could not create the work file. Check the temp environment variable." Am not able to save any word document. Also, on trying to close Word I get this error message; "Changes have been made that affect the...
Microsoft Office

Our Sites

Site Links

About Us

Find 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 18:31.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App