Solved

setting a variable to current IP Address

Posted on 2004-04-23
4
151 Views
Last Modified: 2010-04-13
How do I store the machines DHCP address as a system variable

Im using the following command to display the system IP address

ipconfig | find "IP Address"

is there a way to pipe the IP Address to a variable using the SET command

Cheers

0
Comment
Question by:rshinwell
  • 2
4 Comments
 
LVL 41

Assisted Solution

by:graye
graye earned 100 total points
ID: 10903939
There is a free Resource Kit tool called SETX, that was designed (oddly enough) to do exactly what you're trying to do.

http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/setx-o.asp
0
 
LVL 7

Accepted Solution

by:
PaulADavis earned 100 total points
ID: 10904583
just curious, why do you want to set the dhcp server address as a variable?

you could try making a lmhost file which would preload the ip address of the dhcp server
0
 
LVL 7

Expert Comment

by:PaulADavis
ID: 12315177
Graye and i have tried to help but we were not able to because there was no response from rshinwell.

I say split the points.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Original post  on Monitis Blog. Web performance monitoring is broken into two camps: passive and active. Passive monitoring is defined as looking at real-world historical performance by monitoring actual log-ins, site hits, clicks, requests for…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question