Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Rudymill
 
Posts: n/a
Default Program needed to sort and extract Word document names

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?
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Robert M. Franz (RMF)
 
Posts: n/a
Default Program needed to sort and extract Word document names

Hi Rudy

Rudymill wrote:
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
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word
  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Rudymill
 
Posts: n/a
Default Program needed to sort and extract Word document names

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

Thanks.

Rudy M

"Robert M. Franz (RMF)" wrote:

Hi Rudy

Rudymill wrote:
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
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word

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
~$ Russ Microsoft Word Help 21 February 5th 08 06:48 PM


All times are GMT +1. The time now is 07:54 AM.

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"