You can use the JavaLoader.exe file to perform low-level, debugging, or loading operations on a BlackBerry. JavaLoader.exe is a powerful tool that can be used for various administrative tasks on the BlackBerry, however most users (and admins too) find it difficult to use.
This guide is relevant for all USB java models (in theory serial/com port models are the same, but you must specify the port the device is attached to rather than USB)
JavaLoader.exe comes with the BlackBerry JDE, you can download it here: www.blackberry.com/developers/na/java/tools/index.shtml
You can also find JavaLoader.exe bundled with JL_Cmder, blackberryfreaks.com has this available here: http://www.blackberryfreaks.com/JL_Cmder.html
You must have the BlackBerry drivers (or BlackBerry Desktop Manager) installed for JavaLoader to work, you can obtain them here: https://www.blackberry.com/Downloads/browseSoftware.do
Usage: JavaLoader [-u] [-p <port>| <pin>] [-b <baud>] [-d0|-d1] [-w <password>] [-q] <command>