Base64 Utilities


Installation

Window$:

  1. Unpack the files to your hard disk. Any location will do.
  2. Copy decb64.exe and encb64.exe to somewhere in your %PATH%.1
  3. Open a command prompt and type "decb64" and press [Enter] to test its all OK.

Linux:

  1. Unpack the files to your hard disk. Any location will do.
  2. Copy the decb64 and encb64 to somewhere in your ${PATH}.1
  3. Open a command prompt and type "decb64" and press [Enter] to test its all OK.

Other:

This code has not been tested on other platforms. If you have a Mac/Solaris/BeOS/*BSD/HP-UX/AIX/Amiga or other OS with a Pascal compiler, I would like to hear from you.

With any non Window$/Linux you have to compile the source and run the native executable.

Usage

To encode a file:

encb64 filename [termination]

To decode a file:

decb64 filename [termination]

Compiling from source

Delphi/Kylix
  1. Rename files from decb64.pas to decb64.dpr and from encb64.pas to encb64.dpr
  2. Open the files individually in the IDE and compile
  3. Follow install instructions
Other
Follow compiler instructions

Notes

  1. If you don't know where your PATH is, open a command prompt and type "set path" (whithout the quotes) and press [Enter].
    On Window$ 9x you would normally put them in "C:\Windows\command".
    On Window$ NT/2000 you would put them in "C:\WINNT\System32".
    On Linux you could put it in "/usr/bin" or "/bin"