Citrix presentation server, and now the new version XenApp has historically never let you run multiple commands from the command line part of the icon properties under the Citrix Management Console. And to address that, we have created a small interpreter to not only allow for multiple commands to be run, but to also allow you to audit the specific icon that is launched via a SQL database. And all from one command.
the only requirement is that citrixmc.exe (Citrix Multiple Command) has to be on the server where you intend to launch the applications and processes.
To launch the Citrix Multiple Command Utility - Simply type in the following from within your icon properties in the Citrix Management Console.
Sample Command: c:\windows\scripts\citrixmc.exe app;bloomberg_test \\servername\foldername\foldername\bbguser.bat "c:\program files\mmc\mmc.exe"
Explanation of sample command:
1.)Part one calls the citrixmc.exe to be initiated
2.)app;bloomberg_test makes a call to a SQL table and records the date, time, username, icon name, and server name of where the icon was launched
3.)\\servername\foldername\foldername\bbguser.bat is the unc path to a network share for the first application
4.)c:\program files\mmc\mmc.exe" is the path to the second program.
The following example will only allow you to execute the first of the three commands, and will not allow you to use special characters.

After launching the test icon, only the AIM session is started.
