Retrieving remote environment variables

Hi,

I am running a dos command on a remote computer and I want to access the remote WINDIR environment variable? How can I achieve that? If I use %windir% I get the local one.

Thanks,
NirS

When you specify the command line for the remote machine, escape the %WINDIR% so that it is not evaluated by finalbuilder, e.g. : %%WINDIR%%