mlagrange
asked on
"%username%" resolves in MetaFrame, but not in XenApp
Hello - trying to set up a MS Access application in XenApp using the same command line that worked in MetaFrame, but it's not resolving the "%username%" parameter.
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.E XE" C:\RPA&username%\RpaFront. mdb
would resolve to C:\RPAroger\RpaFront.mdb"
Access opens, but then can't find "C:\RPA&username%\RpaFront .mdb"
Was there some change between MetaFrame and XenApp ?
Thanks
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.E
would resolve to C:\RPAroger\RpaFront.mdb"
Access opens, but then can't find "C:\RPA&username%\RpaFront
Was there some change between MetaFrame and XenApp ?
Thanks
Maybe stating the obvious here, but username is not enclosed in "%". YOu're using an ampersand and a percent sign.
ASKER
blast... that was a typo in my question. Sorry; the actual command line is:
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.E XE" C:\RPA%username%\RpaFront. mdb
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.E
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Does the user name contain any characters outside of A-Z and 0-9? If so, add double quotes around the argument: "C:\RPA%username%\RpaFront .mdb"
Or does help publishing it like that help?
Or does help publishing it like that help?
cmd.exe /c start "Starting Access ..." "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "C:\RPA%username%\RpaFront.mdb"
ASKER
smh...
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.E XE" C:\RPA\%username%\RpaFront .mdb
Thanks, oBdA
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.E
Thanks, oBdA
ASKER
Yes, it was the *intent* of oBdA's solution, but without my typo (let's see if I can finally get it right :-/
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.E XE" "C:\RPA\%username%\RpaFron t.mdb"
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.E
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you both for your responses.