Link to home
Start Free TrialLog in
Avatar of Mark LaGrange
Mark LaGrange

asked on

Command line for starting Access 2010 runtime app on XenApp???

Tearing our hair out... with this command line to start the Access runtime application on XenApp:

"C:\Program Files (x86)\Microsoft Office\OFFICE14\MSACCESS.EXE" c:\rpa%username%\RpaFront.accdb

The "%username%" resolves to "SYSTEM", and so it errors out.

What are we doing wrong?

Thanks
SOLUTION
Avatar of Alex Appleton
Alex Appleton
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mark LaGrange
Mark LaGrange

ASKER

Thanks for your responses, guys. I found this answer on a Citrix website that resolved a similar problem by publishing a batch file to start the app:
     https://discussions.citrix.com/topic/279657-publishin-apps-with-environment-variables-doesnt-work-always/

The "money shot" is down at the end of the thread:
     START "" "C:\Program Files (x86)\Microsoft Office\OFFICE11\msaccess.exe" /excl /runtime "f:\users\%username%\db.mdb"
A little more tinkering with it, and it worked.

I would like to get to the best solution, but I'm just the developer, and the network admin is happy, so the problem is officially solved.

Thanks again.