Rob van der Woude's Scripting Pages

Help text for WPD2Txt.cs

(view help text of WPD2Txt.cs as plain text)

WPD2Txt.exe,  Version 1.00
Return plain text content of a WordPerfect file without requiring WordPerfect

Usage:    WPD2Txt.exe  wpfile  [ encoding ]

or:       WPD2Txt.exe  /E

Where:    wpfile       is the path of the WordPerfect file to be read
                       (no wildcards, only .wpd extension allowed)
          encoding     is the output encoding, e.g. UTF-8 to preserve
                       Unicode characters, or IBM437 to convert Unicode
                       doublequotes to ASCII
         /E            list all available encodings

Notes:    This program is far from perfect, extracted text still contains
          a lot of "garbage" and most accented characters will be lost; if
          you have WordPerfect available, better use that to extract text.
          If the specified encoding does not match any available encoding
          name, the program will try again, ignoring dashes; if that does
          not provide a match, the program will try matching the specified
          encoding with the available encodings' codepages.
          This program requires .NET 4.5.
          Return code ("errorlevel") 1 in case of errors, 0 on success.

Written by Rob van der Woude

page last uploaded: 2022-10-05; loaded in 0.0205 seconds