Computing.Net > Forums > Programming > ipconfig batch file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

ipconfig batch file

Reply to Message Icon

Name: jasonwi1981
Date: April 27, 2009 at 19:43:23 Pacific
OS: Windows XP
Subcategory: Batch
Comment:

Help! I need to create a batch file which finds my IP Address, MAC address, Subnet Mask, Gateway, and DHCP Server and then display them on my screen in the following format:

This is my current IP address:
IP Address.......................:My IP Address
This is my MAC address:
Physical Address.............:My MAC Addres

ect. ect.

I can't use | so I can't use @ipconfig | find



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: April 27, 2009 at 20:16:29 Pacific
Reply:

Before we waste much time, what else can't you use?


=====================================
If at first you don't succeed, you're about average.

M2


0

Response Number 2
Name: Judago
Date: April 27, 2009 at 20:34:57 Pacific
Reply:

This is just a guess, but is the reason you can't use a pipe "|" beacaue the command is inside a for /f loop? If so just prefix the pipe with a caret "^|" (same goes for <, > and &)


0

Response Number 3
Name: jasonwi1981
Date: April 28, 2009 at 07:57:01 Pacific
Reply:

Just can't use pipe. I can't use it because it would make it easy.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Help, I Dont know whats w... blue screen



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: ipconfig batch file

Batch File To temporarily backup www.computing.net/answers/programming/batch-file-to-temporarily-backup-/9826.html

Batch file www.computing.net/answers/programming/batch-file/5100.html

Batch File - Finding the IP address www.computing.net/answers/programming/batch-file-finding-the-ip-address/13900.html