RDM $Variables$ in cmd

avatar

Hello Forum,

can a session tool (cmd) understand $Variable$ from @Call RDM

i.g.

"D:\Dropbox\execute\Fping.exe" -c -T $IP$ && pause"

expected: D:\Dropbox\execute\Fping.exe" -c -T 192.168.120.5 && pause

$IP$ or $HOSTNAME$ wasn't replaced by "192.168.120.5" or "Server01"

All Comments (8)

avatar

What was the type of session that you tried to run the session tool?

David Hervieux

avatar

In Session ScriptTools it's declared as "Command Line". The tool is from http://fping.org/ and works well in cmd

edited by reredok on 9/24/2012

avatar

Hi,

I have verified and it seems to work fine with the variable $HOST$

David Hervieux

avatar

Divided the call in cmd-File 2 Lines:

fpingcmd.cmd:

" ... "D:\Dropbox\execute\Fping.exe" -c -T $HOST$

pause

"

Message:

D:\Dropbox\execute>"D:\Dropbox\execute\Fping.

Host $HOST$ ignored

Fast pinger version 3.00

(c) Wouter Dhondt (http://www.kwakkelflap.com

No host specified

D:\Dropbox\execute>pause

Drücken Sie eine beliebige Taste . . .

avatar

Could you export me the session script?

David Hervieux