in reply to going through a Win32 MSWORD doc
After massaging your code a little I was able to see that only some of it pertains to the question at hand. Why not start from scratch? If you have to search for files, use File::Find to get files. Then look at the file extension (because that's how Windows tells files apart) to figure out what to do.
Unless I've misunderstood what your objective is.
"Excellent. Release the hounds." -- Monty Burns.
|
|---|