I have an application in Windows Server 2008 with arguments after the line command @Z:\aplicacion\usuarioini\%username%.ini.
I created an application and configure OSGD the arguments, but when you run the application does not read the variable "username". If the argument change% username% for the user, if it works for example: @Z:\aplicacion\usuarioini\rrobinson.ini
I know that OSGD uses a script "windows.exp" and wcpwts.exp, as could configured to take that variable?
Your easiest option might to create a wrapper script that launches the application with the correct arguments and get SGD to launch the script instead of the application directly. Something as simple as a .bat script should be sufficient I think.