A
Anjou blanc
A long time ago I left a team with a template file with lots of useful macros
and tools. Since then I've given them updates along the way. Now, we find
that there are lots of documents that have been created by people OPENING the
template (instead of using File->New) and then forcing Word to save the files
at .doc (i.e. they look like documents but they are still templates). There
are over 10,000 files (good and bad) stored in a hierarchical folder set.
Obviously I can get a list of all fo these documents by doing something like
'dir "*.doc" /s/b >list.txt', but once I've done that, what I'd like to do is:
- get a list of the files which have been incorrectly created as templates
- purge the old versions of the macros from those incorrectly saved files
- convert the bad files to proper documents based on the current version of
that template file
and tools. Since then I've given them updates along the way. Now, we find
that there are lots of documents that have been created by people OPENING the
template (instead of using File->New) and then forcing Word to save the files
at .doc (i.e. they look like documents but they are still templates). There
are over 10,000 files (good and bad) stored in a hierarchical folder set.
Obviously I can get a list of all fo these documents by doing something like
'dir "*.doc" /s/b >list.txt', but once I've done that, what I'd like to do is:
- get a list of the files which have been incorrectly created as templates
- purge the old versions of the macros from those incorrectly saved files
- convert the bad files to proper documents based on the current version of
that template file