title: Save word file as html in java
body: <p>I try to save a word file as html using java. I save a word file as xml and its working for me</p>
  
  <pre><code>Runtime rt1 = Runtime.getRuntime();
  rt1.exec("C:/Program Files/Microsoft Office/Office12/WINWORD.EXE /msaveasxml C:/myfolder/AB_00040.doc");
  </code></pre>
  
  <p>It save my doc file as xml file in the specific folder C:/myfolder and I view that xml file at  C:/myfolder/AB_00040.xml</p>
  
  <p>If i want to save the same file as html what can i do. Any one help</p>
  
  <pre><code>rt1.exec("C:/Program Files/Microsoft Office/Office12/WINWORD.EXE /msaveas??? C:/myfolder/AB_00040.doc");
  </code></pre>
  
  <p>Thanks in advance</p>