Program needed to sort and extract Word document names

G

Guest

I need to be able to extract all the word document names in a folder (may be
700 to 1000 documents), and put the resulting names into some sort of
database. I will then want to sort the documents according to various key
words in the titles; I'll then need to save/print the sort results.

Any suggestions?
 
R

Robert M. Franz (RMF)

Hi Rudy
I need to be able to extract all the word document names in a folder (may be
700 to 1000 documents),

You can do that from any console. Under Windows, that would be
ControlPanel.exe (usually found in Start | Programs | Accessories).

There, change the current path to your desired directory and type:

dir *.doc /b > filelist.txt

The result should be the file "filelist.txt", a text file with one
filename per line.

and put the resulting names into some sort of
database. I will then want to sort the documents according to various key
words in the titles; I'll then need to save/print the sort results.

I'll leave that for the newsgroup to your database application ... :)

HTH
Robert
 
G

Guest

Worked like a charm. And with 15 minutes on the Excel online help site, I am
now in business.

Thanks.

Rudy M
 

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