Discussion Locked

IP Address log file on a Win95 machine

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Howzit,

Pls would someone help me. I am looking for a file that keeps a log file that resides preferably on the client machine, of all assinged IP's that my DHCP server sends out. Can anyone ple help me?

1 reply

by rsp

Hi there

On your Windows 95 machine, you could use the WINSTART.BAT file to do what you want.

If you want it simple, then just use this 4 line script:

----
@echo off
winipcfg /batch %temp%\ip.tmp
type %temp%\ip.tmp | find "IP Address" >>%windir%\ip.log
del %temp%\ip.tmp
----

It copies all the IP config info to ip.tmp, then strips out the IP Address line and adds it to ip.log, finally removing the ip.tmp file.

It may be of use if you want a simple way to check.

RegardsRichard

This discussion is closed to new replies.