How to copy files in a folder to MSword

  • Thread starter Thread starter Mike
  • Start date Start date
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.
 
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)
 
There's a handy freeware utility available from the downloads page of my web
site which does this. - Printfolders!

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

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Back
Top