S
simon_s_li
Hi,
I have a vbs (Visual Basic Script) file which needs to be executed from
Java.
The vbs file basically needs to read in a list of Word documents, where
each document gets parsed and the individual data isconverted into
HTML.
The problem is that when Java runs the vbs file to start the the
looping of each Word document it creates the usual $ file. So if you
have a Word document called 'test.doc' and when you open it it created
a file called '$test'.
To run the vbs using the following command 'cscript test.doc'.
The problem is that it does not seem to finish looping through all the
Word documents. So If I have 100 Word documents, it will only convert
3 Word documents to HTML.
I believe its these $ files, which are stopping it.
Is there any other way to call the vbs file from Java without creating
these $ files when it reads these Word documents?? Remember I've
already tried the cscript.
Any help is appreciated.
Regards
Simon
I have a vbs (Visual Basic Script) file which needs to be executed from
Java.
The vbs file basically needs to read in a list of Word documents, where
each document gets parsed and the individual data isconverted into
HTML.
The problem is that when Java runs the vbs file to start the the
looping of each Word document it creates the usual $ file. So if you
have a Word document called 'test.doc' and when you open it it created
a file called '$test'.
To run the vbs using the following command 'cscript test.doc'.
The problem is that it does not seem to finish looping through all the
Word documents. So If I have 100 Word documents, it will only convert
3 Word documents to HTML.
I believe its these $ files, which are stopping it.
Is there any other way to call the vbs file from Java without creating
these $ files when it reads these Word documents?? Remember I've
already tried the cscript.
Any help is appreciated.
Regards
Simon