Empower yourself with Converesion tools from Softinterface.

WordConverterExe Word Command Line Examples

(Command Line or GUI Driven file conversion)

Below are portions from  a sample batch file, WCE_WORD_EXAMPLES.BAT, which is included in the installation directory.  You can include or exclude spaces between switches and parameters.  For example,  "/C6" is the same as "/C  6".  For long file names you may be required to use double quotes.  For example /S"C:\Program Files\MyApp\MyDoc.DOC".

:=====================================================================
: WordConverterEXE MS Word Example Batch File. (WWW.SoftInterface.COM)
:
: Find the example closest to your needs and modify accordingly.
: Single File processing
: EXAMPLE 1 (Single file conversion)
: EXAMPLE 2 (Single file conversion, remove empty lines)
:
: Multi-File processing
: EXAMPLE A (Multi - File conversion)
: EXAMPLE B (Multi - File conversion, remove empty lines)
: EXAMPLE C (Multi - File conversion, remove empty lines, concatenate all)
: EXAMPLE X (Multi - File conversion, remove empty lines, concatenate all
: , subdirectories)
:
:=====================================================================
:----------------------------------------------------------------------
: EXAMPLE 1 (Single file conversion)
:
: Convert "D:\A\B.DOC" to "D:\A\B.TXT": /S D:\A\B.DOC /T D:\A\B.TXT
: Specify TXT format: /C2
: Create Log file D:\A\Convert.LOG: /L D:\A\convert.log
:
: NOTE: For long file paths use double quotes.
:----------------------------------------------------------------------

WCX.exe /S D:\A\B.DOC /T D:\A\B.TXT /C2 /L D:\A\convert.log

:----------------------------------------------------------------------
: EXAMPLE 2 (Single file conversion, Remove empty lines)
:
: Do everything done in EXAMPLE 1 Plus:
: Remove empty lines: /P10
:
:----------------------------------------------------------------------

WCX.exe /S D:\A\B.DOC /T D:\A\B.TXT /C2 /L D:\A\convert.log /P10

:
:----------------------------------------------------------------------
: EXAMPLE A (Multi - File conversion)
:
: Convert all Word files in "D:\A\" to "D:\A\": /S D:\A\*.DOC /T D:\A\*.TXT
: Specify TXT format: /C2
: Create Log file D:\A\Convert.LOG: /L D:\A\convert.log
:----------------------------------------------------------------------

WCX.exe /S D:\A\*.DOC /T D:\A\*.TXT /C2 /L D:\A\convert.log

:----------------------------------------------------------------------
: EXAMPLE B (Multi - File conversion, remove empty lines)
:
: Do everything done in EXAMPLE A Plus:
: Remove empty lines: /P10
:
:----------------------------------------------------------------------

WCX.exe /S D:\A\*.DOC /T D:\A\*.TXT /C2 /L D:\A\convert.log /P10

:----------------------------------------------------------------------
: EXAMPLE C (Example B w/concatenation)
:
: Do everything done in EXAMPLE B Plus:
: Concatenate All files to D:\A\Target.TXT: /P1 /F D:\A\Target.TXT
:
: NOTE: Concatenation switch should be last
:----------------------------------------------------------------------

WCX.exe /S D:\A\*.DOC /T D:\A\*.TXT /C2 /L D:\A\convert.log /P10 /P1 /F D:\A\Target.TXT

:----------------------------------------------------------------------
: EXAMPLE X (Example C w/subdirectories)
:
: Do everything done in EXAMPLE C Plus:
: Process all files in subdirectories: /R
:----------------------------------------------------------------------
WCX.exe /S D:\A\*.DOC /T D:\A\*.TXT /C2 /L D:\A\convert.log /R /P10 /P1 /F D:\A\Target.TXT

 

 Download Now 

Buy Now