Thanks for the replies.

I have two RAS connections becaue I use a VPN tunnel to dial into a LAN. So I get an ISP connection and a VPN connection on top of it.

Seems you're right, ways I tird to work around the problem were trying enumipinfo (I get more IP adresses if connected ...) and @ipadressx (for the same reason) but those too seem to be initialized only once :-(

So I currently think about dumping ipconfig /all to a file, and then get my IP infos from there (yuck ...).

Any other ideas?

Armin Linder