cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

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)
Tags (1)
0 Kudos
1 Reply
rguggisberg
Active participant

Re: specified environment variable for ip address

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