
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
23
convert -p srcFile dstFile (Enter).
or:
convert --pb2bin srcFile dstFile(Enter)
SrcFile is phonebook text file to be converted and dstFile is specified output data file.
For example:
y
-P | --bin2pb
Convert the phonebook binary file (dat) to text file (txt).
Command syntax:
convert -P srcFile dstFile (Enter).
or:
convert --bin2pb srcFile dstFile (Enter)
SrcFile is a phonebook data file to be converted and dstFile is a specified output text
file converted. For example:
y
-f | --force
Overwrite an existing file with this attribution.
With [-f|--force] in the command line, if an output file (dstFile) has existed in the
directory the file will be overwritten.
Without [-f|--force] in the command line, if an output file (dstFile) has existed in the
Example:
Convert the phonebook text file d:\sdcc\src\phonebook.txt to data file phonebook.dat.
C:\sdcc\src>..\bin\convert -p phonebook.txt phonebook.dat (Enter)
Or input:
C:\sdcc\src>..\bin\convert –pb2bin phonebook.txt phonebook.dat (Enter)
After above operation completes, phonebook.dat is created in C:\sdcc\bin.
Example:
Convert the phonebook binary file d:\sdcc\src\ phonebook.dat to text file
phonebook.txt.
C:\sdcc\src>..\bin\convert -P phonebook.dat phonebook.txt (Enter)
Or input:
C:\sdcc\src>..\bin\convert --bin2pb phonebook.dat phonebook.txt (Enter)
After above operation completes, phonebook.txt is created in C:\sdcc\bin.