A: Currently the file extension allowed for use in the Login and Logout Script fields are batch files with file name extensions of ".BAT" and ".CMD". If you specify scripts in either of these fields with a file name extension other than ".BAT" and ".CMD", then the specified script will not run.
Path to the vpn login and logout script can be added by set vpn parameter. For information on scripts, see Citrix Documentation - vpn parameter.
loginScript - Path to the logon script that is run when a session is established. Separate multiple scripts by using comma. A "$" in the path signifies that the word following the "$" is an environment variable.
logoutScript - Path to the logout script. Separate multiple scripts by using comma. A "$" in the path signifies that the word following the "$" is an environment variable.