Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Citrix Streaming Publishing: Extra Command Line Parameters - Can not handle filename with spaces.

Posted on 2009-07-07
11
Medium Priority
?
1,209 Views
Last Modified: 2012-05-07
I am using Citrix XenApp 4.5 and I am streaming application from the server.  I am publishing a MS Access database.  Therefore, I am pointing my profile to Office.prof.
The Application to Launch is soecified as Microsoft Access 2003.
The Extra Command Line Parameter - points to the UNC path of the database, but the database filename has a space in it:
"\\server1\test\database rules test.mdb" %**

When this profile is streamed, I get an error in MS Access and the filename is truncated on the space - therefore, it shows:

Can not open - "\\server1\test\database.mdb"

I have seen writeups about this on the Citrix Forum, however,  there are no solutions for Streaming from the Server.
0
Comment
Question by:rmessing171
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
11 Comments
 
LVL 12

Expert Comment

by:Daniel Borger
ID: 24797472
can you shorten the database name and get it to work?
0
 

Author Comment

by:rmessing171
ID: 24797544
I can not try that right now, the client does not want to shorten the name, as well as, they do not want to replace the spaces with underscores.
0
 
LVL 12

Accepted Solution

by:
Daniel Borger earned 2000 total points
ID: 24797681
What about using 8.3 naming convention?

http://support.citrix.com/article/ctx785732
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 

Author Comment

by:rmessing171
ID: 24797887
The client will not change the name of the database.  I had seen the citrix article you referenced and the solution does not work for streaming from the server.  It only works for Streaming from the Client.
0
 
LVL 12

Expert Comment

by:Daniel Borger
ID: 24797968
sorry, I meant try using the Extra Command Line Parameter path as 8.3
0
 

Author Comment

by:rmessing171
ID: 24798419
can you take my example of "\\server1\test\database rules test.mdb" and show me how you make it 8.3?
0
 
LVL 12

Expert Comment

by:Daniel Borger
ID: 24802868
\\server1\test\databa~1.mdb  

Could you copy the database local to the server and try that path?

If that does not work perhaps you could try having the Extra Command Line Parameter go to a batch file that opens the database.

0
 

Author Comment

by:rmessing171
ID: 24808042
dborger,

I think you are getting close for me.  I have not tried the 8.3 naming convention, but will try it when I get a moment.

Per the batch file called in the Extra Command Line Parameter, how would I specifiy to call the batch file in the Extra Command line parameter, so:

I am telling it to execute msaccess.exe as the target, but how would the EXtra Command Line Parameter look to call the batch, I just can not say:

Target: C:\msaccess.exe

Extra Command Line: M:\database.bat

Do I need a pipe (|) to the information?
Please let me know when you get a quick moment.

Thank you for your awesome assistance!
0
 
LVL 12

Expert Comment

by:Daniel Borger
ID: 24808227
the batch file would be something like this.
start C:\folder\database rules test.mdb
0
 

Author Comment

by:rmessing171
ID: 24808374
Thanks!  So just to recap, if I was to run it from a command line or run without the batch file:

c:\msaccess.exe start c:\folder\database rules test.mdb

0
 

Author Comment

by:rmessing171
ID: 24823840
The 8.3 naming convention worked.  I tried using a BAT file in the Extra Command Line Paramters and it did not work.
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Several part series to implement Internet Explorer 11 Enterprise Mode
If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question