Print Topic

Computer Q&A Board  /  Other Programs  /  Copy Folder Contents to Word Document
Posted by: judie panneton, April 16th, 2006, 6:26pm
Does anyone know how I can copy a list of all of the icons or titles of folders and files into a Word document so that I can have paper list of all of my documents? Thanks. ::)
Posted by: TSYS, April 23rd, 2006, 12:04pm; Reply: 1
Use the "dir" command: start Command Prompt, set the current directory, then redirect the output of the "dir" command to a text file: For example:

C:\Documents and Settings\Administrator> cd C:\
C:\>dir /S >C:\DirList.txt


A couple of caveats: First, the above example will cause all files on the C: drive to be listed, which, on a modern computer, may result in tens of thousands of lines in "DirList.txt"; use the "cd" (change directory) command to set a start point. Second, use "dir /?" to see what options are available (for example, the /S means to list all subdirectories).

The text file can then be imported into your favourite word processor.
Posted by: pipdev, April 23rd, 2006, 7:51pm; Reply: 2
Alternatively, if you do not like command-line working, try "Karen's Directory Printer" - despite the name, it does print to file as well - at this address.

http://www.karenware.com/powertools/powertools.asp
Print page generated: December 2nd, 2008, 11:10pm