How to copy files in a folder to MSword

M

Mike

What I want to to do is open a folder and copy the file LISTINGS to
MSWORD......In other words, I just want to copy the name of the file
to WORD but NOT the contents of the file.
Is this possible and how can I do it????? Your help appreciated.
 
D

Don Schmidt

This how I would do it:

Use the following commands and switches from the dos prompt to display and
printout the directories and files on your hard drives.


C:\dir /a /s /o /p >filename.txt (creates text file)

C:\dir /a /s /o /p >lpt1 (sends list to the printer)


/a display hidden files

/s display sub folders

/o sort a through z

/p display a page at a time
filename.txt send to text file
lpt1 send to the printer

Now copy from the text file to Word. (The printer reference is just a FYI)
 
G

Graham Mayor

There's a handy freeware utility available from the downloads page of my web
site which does this. - Printfolders!

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top