# CODEPAGE - extract a codepage from an MSDOS codepage file - man - [phpMan]

[_CODEPAGE_(1)](https://www.chedong.com/phpMan.php/man/CODEPAGE/1/markdown)                            General Commands Manual                           [_CODEPAGE_(1)](https://www.chedong.com/phpMan.php/man/CODEPAGE/1/markdown)

## NAME
       codepage - extract a codepage from an MSDOS codepage file


## SYNOPSIS
       **codepage **[ _-c_ | _-l_ | _-L_ | _-a_ | _nnn_ ] _file.cpi_


## DESCRIPTION
       The **codepage **command extracts codepages from an MSDOS codepage file.


## OPTIONS
       _-c_     Input file is a single codepage


       _-L_     Print header info (you don't want to see this).


       _-l_     List all codepages contained in the file.


       _-a_     Extract all codepages from the file


       _nnn_    (3 digits): extract codepage _nnn_ from the file.


## EXAMPLE
       To create a file 850.cp, with codepage 850 from a file ega.cpi, execute:

                   codepage ega.cpi 850



kbd                                          2002-02-19                                  [_CODEPAGE_(1)](https://www.chedong.com/phpMan.php/man/CODEPAGE/1/markdown)
