
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
25
getpb.bat and setpb.bat
getpb.bat: read phone book information and put them into a text file phonebook.txt. The
command syntax:
getpb [IP address]
setpb.bat: write the file phonebook.txt to the phone. The command syntax:
setpb [IP address]
“IP address” is the phone IP address. After setpb.bat is run, the phonebook.txt created by
getpb.bat will be deleted. For example:
Contents of phonebook.txt as follows:
Phonebook.txt includes phonebook data information, total 100 items and only valid items
displayed are in the file. “pb_name” stands for the name property of the phonebook and
“pb_number” stands for the number property of the phonebook, detail information is after
“=”.
For example:
“pb_name001 = support1 pb_number001 = 01088365621”: the first item in the phonebook,
the name is support1and the number is 01088365621.
Example
:
1) Input:
C:\sdcc\bin>getpb 192.168.1.205 (enter)
Read the phonebook information of the phone with IP 192.168.1.205 and write it to
phonebook.txt;
2) If necessary, modify the phonebook.txt and save it;
3) Input:
C:\sdcc\bin>setpb 192.168.1.205 (enter)
Write the phonebook.txt to the phone and phone restarts.