
C o m m u n i c a t i o n s , I n c .
© 2006-2007
PalmMicro Communications, Inc.
Room 0611, Bldg.B Tsinghua Tongfang Technology Plaza, 1 Wangzhuang Road, Beijing, CHINA
19
5 Command And Batch File
C:\sdcc\bin includes application program commands and batch files. Here we explain
phone operation contents.
Convert.exe Command
Convert files from one format to another.
Command Format
Convert command syntax:
convert [[-c|--cfg2bin] | [-C|--bin2cfg] | [-w|--web2web] | [-i|--web2info] | [[-h|--bin2h]
[-a<0-65535>] [-l<0-65535>]] | [-r|--ring2bin] | [-p|--pb2bin] | [-P|--bin2pb]] [-f|--force]
srcFile dstFile
y
[-c|--cfg2bin]: “c” in -c must be lowercase
,
Convert configuration text file to binary
file;
y
[-C|--bin2cfg]: “C” in -C must be uppercase
,
Convert configuration binary file to text
file;
y
[-w|--web2web]: Convert html file to AR1688 acceptable html format;
y
[-i|--web2info]
:
Read parameters in the web page and convert it to a header file.
y
[-h|--bin2h]: Convert a file to a c headfile;
y
[-r|--ring2bin]
:
Convert pcm ring file to AR1688 acceptable binary file.
y
[-p|--pb2bin]
:
”p” in –p must be lowercase
,
convert phonebook text file to binary file.
y
[-P|--bin2pb]
:
”P” in –P must be uppercase
,
convert phonebook binary file to text
file.
y
[-f|--force]: Force to overwrite the destination file that exists;
y
srcFile: Specifies the source files to be converted;
y
dstFile: Specifies the destination file;
Input “convert (Enter)”, help information will be displayed.
Command Operation
According to different option, we explain the converting process respectively.
y
-c | --cfg2bin
Convert the phone configuration text file (txt) to binary file (dat).
Command syntax:
convert -c srcFile dstFile (Enter)
or:
convert --cfg2bin srcFile dstFile(Enter)
“srcFile” is phone configuration text file to be converted and “dstFile” is specified