cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
farukhsharipov
Level 4

specified environment variable for ip address

What is specified environment variable for machine ip address. I can get computer name doing this [%COMPUTERNAME], Are there same thing for ip address?

Side note: where I can find list of available environment variables.
Labels (1)
0 Kudos
(1) Reply
rguggisberg
Level 13

Get a list of environment variables by typing SET from a command prompt.
There is not an environment variable for IP Address.
You can parse IP address from output of IPCONFIG command.
0 Kudos