
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   MS Word 2.0 (WinWord 2.0) macro decompiler and password recovery tool

                               WM2DEC ver. 1.01
                              15 september 1999

   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Introduction
^^^^^^^^^^^^
This program is copyright by Lubos Vrtik, Slovak Republic.

It is distributed as FREEWARE - no fee is required for using it. There is no
limitation for using program for commercial or non-commercial use.

Although the program was widely tested there is no warranty or guarantee that
it will function correctly.  Use it at your own risk.

Description
^^^^^^^^^^^
WM2DEC allows you to extract the source code and examine the macros present in
MS Word 2.0 templates. If document or template is password protected WM2DEC
displays the password. The user can then either remove password protection
with using WM2DEC or open the template in MS Word and typing displayed
password when prompted.

System requirements
^^^^^^^^^^^^^^^^^^^
The program requires a CPU 80386 or above with math. coprocessor.
The program was tested with MS DOS, MS Windows 95/98/NT 4.0.

Usage
^^^^^
If no command line was entered the program will display help.

To extract source code of macros enter on the command line:

WM2DEC filename

where 'filename' is the name of MS Word 2.0/1.0 file.

Drive and path names are allowed. Wildcards are not allowed.

The output file with source code of macros will have the same filename but
with the extension 'mac' in the same directory as the input file. If the
output file already exists, it will be overwritten without warning.

If the file is password protected the program will display the password. This
password can be typed when opening file in MS Word or you can use it to remove
file protection with using command line option /r.

To remove file protection password enter on the command line:

WM2DEC filename /r

In this case the program must have write access to the file.

Known limitations
^^^^^^^^^^^^^^^^^
WM2DEC handles only file in MS Word 2.0 format (Intel platform). Perhaps it
will be able to handle MS Word 1.0 format but this feature was not tested.
Documents or templates in MS Word 2.0/1.0 format created with MS Word for
Macintosh are not supproted.

If an unknown/not allowed token is encountered during decompilation the token
value and its file position is diplayed. If you are sure the file is not
corrupted please send the file to author for analysis.

Return codes
^^^^^^^^^^^^
The program returns 0 if everything was OK otherwise it returns 1.

Author
^^^^^^
You can contact the author of program and send bug reports, comments or hints.

E-mail: vrtik@vuje.sk
Voice:  +421 805 5991220
Fax:    +421 805 5991191

Snail mail (home):
Lubos Vrtik
D. Stura 1011/4
926 01 Sered
Slovak Republic

Snail mail (office):
Lubos Vrtik
VUJE
Okruzna 5
918 64 Trnava
Slovak Republic

Download
^^^^^^^^
The latest version of program can be found at

ftp://ftp.elf.stuba.sk/pub/pc/avir/wm2dec10.zip
http://ftp.elf.stuba.sk/packages/pub/pc/avir/wm2dec10.zip

Greetings and credits
^^^^^^^^^^^^^^^^^^^^^
Jan Valky and Richard Marko
Costin Raiu

*END*
