64encode, 64decode

encode or decode a file using base64 

Command


SYNOPSIS

64encode [file]

64decode [file]


DESCRIPTION

The 64encode command encodes the specified file using MIME's base64 encoding scheme and writes the result to standard output. This encoding converts the file into a set of characters universally represented at all sites in lines of 64 characters or less (only for the final line). This allows a binary file or simply one containing control characters to be transmitted through e-mail.

The 64decode command decodes the specified file which has been previously encoded in base64 and writes the result to standard output.

For both the 64encode and 64decode commands, if no file is specified, input is read from the standard input and encoded or decoded.

It is important to note that unlike the encoding scheme used by the uudecode and uuencode commands, the base64 scheme does not use any kind of separator to mark the beginning and end of the encoding. As a result, you must trim all extraneous information from a file before decoding it.


DIAGNOSTICS

Possible exit status values are:

0 

Successful completion.

>0 

An error occurred.


PORTABILITY

Windows 8.1. Windows Server 2012 R2. Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022.


AVAILABILITY

PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Commands:
uudecode, uuencode


PTC MKS Toolkit 10.4 Documentation Build 39.