Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
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
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
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
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
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 |