Custom application fails to launch when the command line exceeds 203 characters

Custom application fails to launch when the command line exceeds 203 characters

book

Article ID: CTX691994

calendar_today

Updated On:

Description

Custom application fails to launch when the command line exceeds 203 characters. Application appears to launch and then disappears.

Resolution

  1. Create the application shortcut and modify its properties as necessary.
  2. Open a text editor like Notepad, enter the following line and save the file with a .bat extension.
    Start C:\CustomApps\Shortcut_AppName.lnk
  3. Publish this batch file normally as you would publish an executable.

Problem Cause

The maximum length for the command line when publishing applications in Citrix environments is 203 characters, including any arguments.