How to import names of files into Word?

Associate
Joined
20 Oct 2004
Posts
1,485
Hi

Is there any way to make a list in Word of the file names of all the files in a folder? I could create a macro to do it but I'm sure there must be some quicker way.

Cheers
 
open cmd, navigate to said directory, "dir > new.doc" should create a word doc (or text file for .txt) in the folder with the files listed.

You'll need to play with the switches for a cleaner output i.e no dates and times etc.
 
Last edited:
Back
Top Bottom