Some of the RDP file properties need different values depending on whether the URL is for a full desktop session or running a remote app. To allow for this provide some flexibility in the template file, by allowing values depending on the value of a token, ie
%Token ? truevalue : falsevalue %
e.g. to set the remoteapplicationmode to 1 only if the AlternateShell token has a value:
Add the remoteapplicationcmdline token.
Some of the RDP file properties need different values depending on whether the URL is for a full desktop session or running a remote app. To allow for this provide some flexibility in the template file, by allowing values depending on the value of a token, ie
%Token ? truevalue : falsevalue %
e.g. to set the remoteapplicationmode to 1 only if the AlternateShell token has a value:
remoteapplicationmode:i:%AlternateShell?1:0%