Reply
 
Thread Tools Display Modes
  #1   Report Post  
TonyB
 
Posts: n/a
Default Directory listing in word ?

Hi,
Is there any way of listing all the files in a directory and importing the
list into a word doc.
TIA
Tony


  #2   Report Post  
Charles Kenyon
 
Posts: n/a
Default

No direct way. You could use a written vba procedure. See
http://word.mvps.org/FAQs/MacrosVBA/InsertFileNames.htm.
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

"TonyB" wrote in message
...
Hi,
Is there any way of listing all the files in a directory and importing the
list into a word doc.
TIA
Tony




  #3   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default

See http://word.mvps.org/FAQs/General/PrintDocList.htm and the Printfolders
utility at http://www.gmayor.com/downloads.htm

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"TonyB" wrote in message
...
Hi,
Is there any way of listing all the files in a directory and importing the
list into a word doc.
TIA
Tony



  #4   Report Post  
Amedee Van Gasse
 
Posts: n/a
Default

TonyB shared this with us in microsoft.public.word.newusers:

Hi,
Is there any way of listing all the files in a directory and
importing the list into a word doc.
TIA
Tony


The simplest way: good old DIR.
Go to a command prompt (Start -- Run; cmd) and type the following:

dir /-p full_path_to_your_directory c:\temp\dir.txt

Et voila: you now have a text file with all files from your directory.
Dir has a lot of other useful switches. You can see them with dir /?

--
Amedee Van Gasse using XanaNews 1.17.3.1
If it has an "X" in the name, it must be Linux?
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Word 2003 documents to WordPerfect formate Carol Microsoft Word Help 6 March 9th 06 07:11 AM
1st word in heading flush left second word flush right Elin New Users 9 April 4th 05 08:44 PM
letters - ask/fillin Caroline H New Users 2 February 25th 05 08:19 PM
how to convert wordperfect 5.0 floppy files to word pcoelho Microsoft Word Help 2 February 17th 05 06:55 PM
Is there a Fast Search in Word? [email protected] New Users 14 February 11th 05 08:43 PM


All times are GMT +1. The time now is 10:51 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"