Citrix Systems 1.8 Server User Manual


 
$SSHQGL[$0HWD)UDPH&RPPDQG5HIHUHQFH 
execute
Executes the program specified by the path command using the working
directory specified by the workdir command.
path executablepath
Sets the program to be executed by executablepath.
workdir directory
Sets the default working directory to the path specified by directory.
([DPSOHV
The following script file runs the Solitaire card game, Sol.exe:
The following script file runs the program Fubar.exe. It deletes files in the
Myapps\Data directory created for the user that launched the application when the
program terminates:
The following script file copies all the .wri files from the directory C:\Write\Files,
executes Write.exe in directory C:\Temp.wri, and then removes all files from that
directory when the program terminates:
The following example demonstrates using the script file to implement a front-end
registration utility before executing the application Coolapp.exe. This method can
be used to run several applications in succession: