Solved

setting a variable to current IP Address

Posted on 2004-04-23
4
147 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

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…
We have come a long way with backup and data protection — from backing up to floppies, external drives, CDs, Blu-ray, flash drives, SSD drives, and now to the cloud.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

746 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now