Wednesday, June 11, 2008

Launch a program on a device remotely from the desktop using RAPI Start

Pre-requisites:
1. Windows Mobile Developer Power Toys is installed on your pc. This can be downloaded here.

2. Microsoft ActiveSync is installed on your pc. This can be downloaded here.

3. Device is connected to the pc via ActiveSync.

4. The program to be launched has already been deployed on the device.

Procedure:
To launch a program on a device remotely via command-line,

1. Open Command Prompt Window

2. Go to *installation path of Windows Mobile Developer Power Toys*\RAPI_Start

cd C:\Program Files\Windows Mobile Developer Power Toys\RAPI_Start

3. Type rapistart *path of program on device to be launched enclosed between double quotes (see example below)*

Example:
rapistart "\Program Files\HelloWorldApplication\HelloWorldApplication.exe"

No comments: