Open the freaking files readonly

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113516 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion committed 2003-06-18 01:37:45 +00:00
1 parent d14cd2926e
commit 795e034ed7
1 file changed
+2 -2
+2 -2
View File
@@ -1,5 +1,5 @@
' Word2HTML.vbs
' $Id: word2html.vbs,v 1.1 2003/01/24 03:46:25 jvanzyl Exp $
' $Id: word2html.vbs,v 1.2 2003/06/18 01:37:45 dion Exp $
Option Explicit
' Creates the output directories to the same depth as the inputFile specified
@@ -58,6 +58,6 @@ outputFile = CreateOutputDirectories(basedir, inputFile, outputDir) & "\" & _
Set obj = WScript.CreateObject("Word.Application")
obj.Visible = FALSE
obj.Documents.Open(inputFile)
obj.Documents.Open inputFile,,True
obj.ActiveDocument.SaveAs outputFile, HTMLFormat
obj.Quit