Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IP Information

Status
Not open for further replies.

contsi

MIS
Dec 17, 2003
47
0
0
US
Why am I not getting the IP addresses with the following
"ipconfig/all" command, Can someone help please?
Thanks


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>ipconfig/all

C:\>C:\WINDOWS\system32\ipconfig /flushdns

Windows IP Configuration

Successfully flushed the DNS Resolver Cache.

C:\>rem Ipconfig /flushdns

C:\>
 
Search the drive C to see if you have a batch file named ipconfig.bat

If you do, rename it to ipconfig.tmp

If you don't, disregard this message.

David.
 
You need a space in between:
ipconfig /all

I like children. If they're properly cooked.
-- W.C. Fields
 
Thanks to both for the reply .
Rename from .bat to .tmp worked, space before / is irrelavant.
DTracy, any idea how this would of happend?
 
contsi -

I can't tell you exactly why someone would have created that particular batch file. However, it appears as though someone wanted to repeatedly flush the dns cache, and rather than type ipconfig /flushdns over and over, they simply created the batch file to do the job. Then they only had to type ipconfig to get that job done. Unfortunately, they chose the wrong name for their flushing file and caused another person problems. It should have been named something like flush.bat.

Best as I can think of at the time.

Regards,
David Tracy.
 
Just to put you straight....

No space is required between the ipconfig and /all. You can put a space in there if you want but it is not required.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top