Example: HTML (Web Page) to Various File Format Conversions

Word (.doc) Format

Specify an HTML file as the original and convert to a DOC format with the /C switch set to 101. On-screen confirmation with the /V switch:

ConvertPPT /S "C:\HTML\sample0003.htm" /T "C:\PPTOutput\s0003.doc /C101 /V

Note it is highly encouraged that you use the Verbose (/V) switch initially to see what the status of your conversion is.

 

JPG Format

Specify a folder of HTML files as the original. Convert them to JPG format, saving them to a folder named PPTOutput and create a log. All created files will use the same name as the originals but with a .jpg extension.

ConvertPPT /S "C:\HTML\*.htm" /T "C:\PPTOutput\*.jpg /C17 /L "C:\Logs\HTMLog.log"

To extend this example to convert all subfolders within C:\HTML\  add the /R switch. Substituting /G for the /T specification places all newly created images within the same folder as the originals.

 

ConvertPPT /S "C:\HTML\*.htm" /G /C17 /L "C:\Logs\HTMLLog.log /R

 

Note it is highly encouraged that you use the Verbose (/V) switch initially to see what the status of your conversion is.

 

PPT Format

Specify an HTML document as the original and convert to a PPT format by setting /C switch to 001. On-screen confirmation with the /V switch.

ConvertPPT /S "C:\HTML\sample0003.htm" /T "C:\PPTOutput\s0003.ppt /C001 /V

 

Note: Use the Verbose (/V) switch initially to see what the status of your conversion is and to help you perfect your command line. In verbose mode, ConvertPPT displays messages to indicate what went wrong or right with your command line.