Try having a look at this
Passing Parameters to Published Applications
When you associate a published application with file types, Presentation Server appends the symbols “%*” (percent and star symbols enclosed in double quotation marks) to the end of the application’s command line. These symbols act as a placeholder for client-passed parameters.
If a published application doesn’t launch when expected, verify that its command line contains the symbols cited above. If you do not see these symbols in an application’s command line, you can add them manually.
If the path to the application’s executable file includes directory names with spaces (such as “C:\Program Files”), you must enclose the command line for the application in double quotation marks to indicate that the space belongs in the command line.
To do this, follow the instructions below for adding quotation marks around the %* symbols and then add a double quotation mark at the beginning and the end of the command line. Be sure to include a space between the closing quotation mark for the command line and the opening quotation mark for the %* symbols.
For example, change the command line for the published application Windows Media Player to the following:
“C:\Program Files\Windows Media Player\mplayer1.exe” “%*”
The following procedures assume you want to add the symbols to the Notepad application, which is published on a Presentation Server.
To add a parameter placeholder to a published application
1. In the Presentation Server Console, expand the Applications node. Select the application to use and choose Properties.
2. In the Properties dialog box, select the Application Location tab.
3. In the Command Line box, add a space and “%*” (percent and star symbols enclosed in quotation marks) to the end of the command line. For example, for the following command line:
%SystemRoot%\System32\Notepad.exe
Add “%*” to the end, as follows: %SystemRoot%\System32\Notepad.exe “%*”
4. Choose OK to save the changes.
[blue] Oh you know, just doing what I do.[/blue]
Cheers
Scott