environment variables in host command

From: Tony Brown <tb_at_arete.demon.co.uk>
Date: 1997/11/07
Message-ID: <PYhLoGAkL2Y0Ewpk_at_arete.demon.co.uk>#1/1


Does anyone know how I can pass an environment variable (In WIN95 and NT) inside a host command.

AT the command line I can say r25run32 (connect string) %env_variable% and it will correctly interpret the string and substitute the value of %env_variable% but if I include this in a host command e.g. host ('r25run32 (connect string) %env_variable% ... ) it ends up by not substituting the variable but using the literal string %env....

Do I have to put something round it (I've tried &, \, ", % already) or do I have to do it some other way.

This is driving me nuts

Thanks in advance

Tony Brown
Tony Brown
Arete Software Limited
Tel : +44 (0) 1344 867706
Fax : +44 (0) 1344 867714
Email : tb_at_arete.demon.co.uk Received on Fri Nov 07 1997 - 00:00:00 CET

Original text of this message