Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problems with File Type Associations

Status
Not open for further replies.

Frodo29

IS-IT--Management
Jan 15, 2002
29
CH
Hi there,

i tried to setup on the Client Computer a File Type Association for Microsoft Word which is on the MetaFrame XPe Server.
for the Open-Command i took:

"%Program Files%\Citrix\ICA Client\PN.EXE" /PN "FarmName" /APP "Winword" /PARAM "%1"

If i now try to open a file which has a space character in the Name/Path between it doesn't work.

Has anybody a solution for me or is it just impossible with this parameter?

thanks for all effort.
 
If I'm reading this correctly, what your tyring to do will not work.

Theoreticlly, are your trying to associate Word documents that are located on the client to open up with the Word that's installed on the MetaFrame Server? If that's the case, it will not work with any parameter.

That would be a great feature to add to MetaFrame though.

Dave Namou, MCSE CCEA
 
Hi Dave,
I read this solution in an offical document from Citrix named "Advanced Concepts for MetaFrame XP" (page 68 of 200).

It works fine if you have a path and filename without any space characters.
Maybe it's a limitation of the PARAM command (historical DOS-command?).

Ralf
 
Wow, pretty cool. I gotta convince my company to go with XP.

You might be right about the limitation of the PARAM command, but a good way to test that is to make a real long filepath name without spaces and see if it still works.

Also, I noticed in the /PN parameter you posted looked like this - /PN "FarmName" - just as it did in the Documentation. Aren't you supposed to change that to YOUR Farm name or is that a variable that it picks up.

Otherwise, I'm sorry but I obviously just learned about this feature so I don't have any other suggestions.

PS. It might help others if you post any errors that occur or what exactly happens when it doesn't work.
Dave Namou, MCSE CCEA
 
About the /PN "FarmName".

the FarmName has to be the Name of the Application group you set up on the client. You have to do it in that way if more than one person is working on that machine.
If you otherwise create manually a shortcut to the Desktop it takes the parameter /PNI "CODE" (take a look in the PN.INI) and this code is for every user different.
 
Did you get a solution for the "space" in the path/name problem......????

We have recently installed Office2000 and are having real problems with this, especially in Excel.....????

Apparently there is a limitation in Excel2000 re. the path length (around 200 characters), I think it has something to do with a limitation imposed with creating links from a cell....????

Anyway, we are also seeing the path problem, it seems to consider a space as the end of the filename and tries to open a file at each "space" within the path being passed to the application....???? I believe this has something to do with file associations and seems to only affect random users....????

Do you have your servers setup with PERUSER file association, we use PERUSER to disable file associations to restrict registry size.....???? Could this have anything to do with the problem....????

Prior to upgrading from Office97 we had no problems....???

Any help/suggestions appreciated.....
 
I found the mistake.

you have to write in the Management console in the Application source Tab:

"C:\Programme\Microsoft Office\Office\WINWORD.EXE" "%*"

The exclamation marks at the end of the line, between windword.exe and %* are required!

In the citrix-document "Advanced Concepts for MetaFrame XP" was it like this:
C:\Programme\Microsoft Office\Office\WINWORD.EXE %*

But this is wrong!
Use the first example and you will be successfull.

Ralf


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top