Command line Variable Hand over

Command line Variable Hand over

avatar

Hello,

i want to hand over some parameters to my batch-script with a command line entry.

Like \UNC-Path\batch.bat {1} {2}


I defined the Parameter like




In the folder 27494 AnneFrank-Gesamtschule is a credential entry, i want the attributes of this entry.
When i start the command line i only get the strings "$NAME$" and "$PASSWORD$", not the variables.
I tried this with some other variables, the same, i only get the Variablename.

All Comments (1)

avatar

Hello,

To use the variables with a Command Line entry, in the General tab, the Run line must includes the variables.



Then, set the Parameters to Unused in the Parameters tab.



And to be able to use the password of your credential entry, you must enable the Allow password in variable option in the Security tab.



Best regards,

Érica Poirier