Netscape logo Command-Line Tools Guide
Netscape Certificate Management System

Previous      Contents      Index      Next     

Chapter 9   Binary to ASCII Tool


You can use the Binary to ASCII tool to convert binary base-64 encoded data to ASCII base-64 encoded data.

The chapter has the following sections:

Location


The tool is located with the rest of the command-line tools in this directory: <server_root>/bin/cert/tools

Syntax


To run the Binary to ASCII tool, type the following command:

BtoA[.bat] <input-file> <output_file>

.bat specifies the file extension; this is required only when running the utility on a Windows NT system.
 
<input_file> specifies the path to the file that contains the base-64 encoded data in binary format.
 
<output_file> specifies the path to the file to write the base-64 encoded data in ASCII format.
 

Example


BtoA.bat C:\test\data.in C:\test\data.out

The above command takes the base-64 encoded data (in binary format) in the file named data.in and writes the ASCII equivalent of the data to the file named data.out.



Previous      Contents      Index      Next     

© 2001 Sun Microsystems, Inc. Portions copyright 1999, 2002-2004 Netscape Communications Corporation. All rights reserved.


Last Updated November 23, 2004