Link to home
Start Free TrialLog in
Avatar of AIUsupport
AIUsupport

asked on

Command Line argument to launch application with different "Start in" folder

Hello,

I'm trying to publish a RemoteApp on TS 2008.  I was able to setup all my applications except for one which requires the application to start on a different folder library.  
Unfortunately, TS 2008 does not give me the option to specify a "Start in" folder on the application properties.  I'm assuming i will need to include additional command line arguments for the application to start successfully, but i cant seem to find the command line argument to do this.
I am attaching screen shots of the application shortcut properties and the RemoteApp properties from TS 2008.

Thanks...
AppPrpts.bmp
RmtAppPrpts.bmp
Avatar of oleggold
oleggold
Flag of United States of America image

You can always use a bat or cmd file instaed of application that does following in first line:

set PATH = %PATH%;M:\PPSWIN\mstrres\ADVANCED

Open in new window

Avatar of AIUsupport
AIUsupport

ASKER

I'm not sure if i understand correctly.  On the first image, "Target:" refers to my application and "Start in" is the working directory for the application which also holds user .ini files and config files for the application.  so i'm not sure where I should put this command.  Also, i have three libraries for this application or "Start in" directories.  
I've already tried using your command where it says "Always use the following command-line arguments:" on the remote application and failed.
Or do you mean i have to this command to like a login script.  If so i'm afraid it will not work because of the multiple libraries.

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

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
Right on the money!!!  Thanks a lot your command worked.