You can also script a remote desktop connection, as Windows XP's remote desktop connection has an executable file that can accept command line parameters and be run from a batch file. The remote desktop connection executable file is MSTSC.EXE, and the following are some of the most common parameters:
/v:
/f --starts the connection in a full screen.
/w:
/h:
For example, to remotely connect to a computer named Kaltec in a 640 x 480 remote desktop screen, you would use the following command:
mstsc /v: Kaltec /w:640 /h:480
You can type this command line in the Run dialog box, as well as use it in a batch file.
Note: This tip applies only to Windows XP Professional.
No comments:
Post a Comment