Author: Remko Weijnen (www.remkoweijnen.nl)
Version: 1.0
Date: 05-11-2007

License:
The contents of this file are subject to
the Mozilla Public License Version 1.1 (the "License"); you may
not use this file except in compliance with the License. You may
obtain a copy of the License at
http://www.mozilla.org/MPL/MPL-1.1.html

Software distributed under the License is distributed on an
"AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.

How to use:

RunInSession sessionid program


sessionid -- Identifies the session with ID sessionid.


program -- Command line for EXE.  See below for examples.


[/SERVER:servername] -- The server containing the session (default is current).


Examples:

RunInSession 10 Notepad.exe
RunInSession 10 Notepad.exe /SERVER:MYSERVER
RunInSession 10 "Notepad.exe MyFile.txt" /SERVER:MYSERVER

