ipconfig batch file

April 27, 2009 at 19:43:23
Specs: Windows XP
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

See More: ipconfig batch file

Report •

April 27, 2009 at 20:16:29
Before we waste much time, what else can't you use?

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


Report •

April 27, 2009 at 20:34:57
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 &)

Report •

April 28, 2009 at 07:57:01
Just can't use pipe. I can't use it because it would make it easy.

Report •

Related Solutions

Ask Question