Command: b64

  B64 is a simple utility that implements Base64 Content-
  Transfer-Encoding standard described in RFC1113.
  (http://www.faqs.org/rfcs/rfc1113.html)

Syntax:

  b64 -option [-l <num>] [<FileIn> [<FileOut>]]

Options:

  -e  Encode to Base64
  -d  Decode from Base64
  -t  Show test instructions. Under Windows the following command line
      will pipe the help text to run a test:
        b64 -t | cmd
  -h  This help text.
  -?  This help text.
  Note:
  -l  Use to change line size (from 72 characters)

Comments:

  This is the coding scheme used by MIME to allow
  binary data to be transferred by SMTP mail.
  More documentation is in the b64.c source file.
  B64 has the following ERRORLEVEL / EXITCODE:
  0 = success.  Non-zero is an error code.
  1 = Bad Syntax,
  2 = File Open,
  3 = File I/O

Examples:

  b64 -e binfile b64file     (Encode to b64)
  b64 -d b64file binfile     (Decode from b64)
  b64 -e -l40 infile outfile (Line Length of 40)

See also:

  errorlevel/exitcode

  Copyright © 1986-2015 Bob Trower, help version 2023 W. Spiegl.

  This file is derived from the FreeDOS Spec Command HOWTO.
  See the file H2Cpying for copying conditions.