Bases  The Base Converter Helper.

Copyright 2011 Roberto Bianchi

Softspecialists - www.softspecialists.com

Introduction

Bases is a Windows console program for quickly perform base conversion. It shows number in binary, octal, decimal and hexadecimal bases.

You can choose the input format (base) and as result you obtain all the four (above listed) bases.

Bases requires at least Windows XP.

Using Bases

You can use Bases from the command prompt, another program, batch or script file.

Command Line Options

Bases usage: Bases.exe [/b | /o | /d | /h] | [/?] value

 

/b

Specifies that the value to be converted is expressed in binary notation.

 

/o

Specifies that the value to be converted is expressed in octal notation.

 

/d

Specifies that the value to be converted is expressed in decimal notation.

 

/h

Specifies that the value to be converted is expressed in hexadecimal notation.

 

/?

Displays this brief help.

 

value

Number which must be converted into the various bases.

     

Note

If you don't use a base specifier, the default used is the decimal one (same to use the /d option).

If you run the Bases program without any parameters you get the above help.

Example

Bases /b 1010

Return Value

Bases returns the converted value (obviously in the decimal notation).