
Send2Palm is a simple utility that allows you to easily install applications and databases in Palm OS powered devices, through the command-line in an automatic and customized way.
Send2Palm uses the default HotSync API to send files to the HotSync queue, which is the list of applications that shall be installed on the next sync.
This utility allows you to choose whether the files should be installed to all users on a computer or only to a specific user, if they should be installed on the internal memory or in the expansion card, and if it must run in "quiet mode" where it doesn't show details of the installation process. As an extra feature, it allows you to view a list of existing HotSync users on the computer using the /ShowUsers parameter.
Send2Palm Usage
Send2Palm FileName UserName [/AllUsers] [/InstallToCard] [/Quiet]

The /AllUsers, /InstallToCard and /Quiet parameters are optional and have the following purpose:
/AllUsers- Defines that the file should be installed to all HotSync users on the computer;/InstallToCard- Defines that the file should be installed on the expansion card (The default is install to on the internal memory);/Quiet- Defines that the details of the installation and possible error messages should be suppressed.
Important: File or User names containing spaces must be passed with quotes, as follows:
Send2Palm "My Database.pdb" "Jason Clark"
Using Send2Palm with Batch Files
As most command-line tools, Send2Palm returns 0 (zero) if it was successful or 1 if an error occurs during the installation. Thus, we can check the return value and control the flow of our installation script. In batch files, we can check this value through the ErrorLevel variable, as follows:
MyInstallScript.bat
@Echo Off Send2Palm C:\Company\MyApp.prc "Jason Clark" /quiet If ErrorLevel 1 GoTo Error Send2Palm C:\Company\MyData.pdb "Jason Clark" /quiet If ErrorLevel 1 GoTo Error Echo OK. The files will be installed on the next HotSync. Exit :Error Echo An error ocurred during the installation.
License of Use
Send2Palm is a freeware software and can be freely distributed. You cannot sell this tool directly or indirectly in any way.
PDAExpert and the author does not offer any guarantee or assistance for the tool, and does not take responsibility for possible damages caused by its use.


