Solved

setting a variable to current IP Address

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

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…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
A short film showing how OnPage and Connectwise integration works.

919 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

14 Experts available now in Live!

Get 1:1 Help Now