AFAIK there's no such variable. You may try to set it yourself using
system tools like ipconfig and cmd scripts. Using some scripts one may
set user variable that presents IP from DHCP. For some help see
http://www.novell.com/coolsolutions/tools/18038.html
--
Regards
Arkadiusz 'Black Fox' Artyszuk
Awesome, thanks for the help!
Here's the batch file I put together based on the novell.com/
coolsolutions.
REM Copy Hamachi IP
ipconfig > %TEMP%\ipconfig.tmp
type %TEMP%\ipconfig.tmp | findstr "IPv4 Address" > %TEMP%\ip.tmp
type %TEMP%\ip.tmp | findstr 5.[0-9]*.[0-9]*.[0-9]*$ > %TEMP%\ip2.tmp
FOR /F "TOKENS=14 DELIMS= " %%A IN ('type %TEMP%\ip2.tmp') DO SET MYIP=
%%A
REM Clean UP
del %TEMP%\ipconfig.tmp
del %TEMP%\ip.tmp
del %TEMP%\ip2.tmp
echo %MYIP%