Extended Parameter Passing Fails with Spaces in File Names
Extended Parameter Passing Fails with Spaces in File Names Extended Parameter Passing Fails with Spaces in File Names
Citrix states in their article: CTX785732
CTX785732 - Extended Parameter Passing Fails with Spaces in File Names
This document was published at: http://support.citrix.com/kb/entry.jspa?externalID=CTX785732
Document ID: CTX785732, Created on: Dec 19, 2001, Updated: Apr 23, 2003
Products: Citrix MetaFrame XP 1.0 for Microsoft Windows 2000
Use the ftype command to configure the application to pass parameters properly.
When using the extended parameter passing feature configured as mentioned in the MetaFrame XP Administrators Guide, you may experience problems passing file names that contain spaces into an ICA session. You might see one of the following error messages:
"The file cannot be located."
"The file cannot be found."
Cause
The file name is not passed completely into the session. The application looks for a file that is named until the first character space of the original name.
Example: If you want to open a file called "copy article.doc," the application receives "copy.doc" as the actual file name.
Resolution
In a Program Neighborhood environment, you need to verify that the application is configured as follows. When configuring the published application on the MetaFrame server, the Command-line field would be:
"Path to App\executable.exe" %*
Example: "C:\Winnt\System32\Notepad.exe" %*
Note: It may be necessary to enclose %* with quotation marks as well as the path to the executable.
On the client, from a command prompt, alter the file association as follows:
ftype filetype to alter="path to the ICAClient\pn.exe" /pn:"Farm-Name" /app:"Application Name within Farm" /param:"\\client\%1"
Example: ftype txtfile="%ProgramFiles%\Citrix\ICA Client\pn.exe" /pn:"MyFarm" /app:"Notepad" /param:"\\client\%1"
Be cautious when entering the file type associations because they are case sensitive and ALL the quotation marks must be there.
User login
Who's new
- Cachleferah
- Weedbacuupe
- vororourn
- vDonellaCandrah
- SnnaSusi