In tip 6016, we used an executable to perform complex testing and execution in a logon script, based upon whether the user is logged on via Terminal Services or not.
If you don't need this complexity, you can use one of the following commands:
if defined sessionname call :TScode
if defined sessionname goto TScode.
0 comments
Hide comments