Netscape logo Command-Line Tools Guide
Netscape Certificate Management System

Previous      Contents      Index      Next     

Chapter 8   ASCII to Binary Tool


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

This 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 ASCII to Binary tool, type the following command:

AtoB[.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 ASCII format.
 
<output_file> specifies the path to the file to write the base-64 encoded data in binary format.
 

Example


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

The above command takes the base-64 encoded data (in ASCII format) in the file named data.in and writes the binary 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