RDM 8.9.19.0 Allow password in variable

RDM 8.9.19.0 Allow password in variable

avatar

Hello
I am trying to pass credentials to my custom Command Line tool/script.

c:\bat\getHW.cmd $HOST$ $DOMAIN$\$USERNAME$ $PASSWORD$

"Allow password in variable" has been checked in credentials entry assigned on Tools tab for my RDP entry.

When I try to echo script variables and pause the script I can see that $HOST$, $DOMAIN$ and $USERNAME$ were replaced by correct values but $PASSWORD$ contains string $PASSWORD$.

Regards

Radek

2013-10-01 19_03_39-Remote Desktop Manager.png

All Comments (2)

avatar

Hi

Has "Allow Password in variable" been checked for your session?, we refer to the setting of the entry that is in fact using the password, not the credential entry that is referenced.
edited by mcote on 10/1/2013

Maurice

avatar

Oh, it wasn't. I am happy to confirm that it works as you described after checking "Allow password in variable" on Advanced tab of my RDP server entry.

Thanks.

Radek