From 795e034ed72d1d9510f2534a0cda21430c7187d0 Mon Sep 17 00:00:00 2001 From: dion Date: Wed, 18 Jun 2003 01:37:45 +0000 Subject: [PATCH] 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 --- word2html/src/plugin-resources/word2html.vbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/word2html/src/plugin-resources/word2html.vbs b/word2html/src/plugin-resources/word2html.vbs index 08b0b90b..4325c8ff 100644 --- a/word2html/src/plugin-resources/word2html.vbs +++ b/word2html/src/plugin-resources/word2html.vbs @@ -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