i don't believe adsl works the same as standard dialup, but yeah that eventually came to mind, another idea that came to me whilst i was at work, if the adsl connection say had under a day connection time limits you could /run command.exe /c ipconfig /all > c:\path\to\my\mircdir\filename.ext and be using $read(filename.ext,w.*Lease Obtained*) grabbing the date from that line, would give you the time the last "dhcp" ip acceptance was granted, im not too sure on how adsl works, but like i say thats an idea, and one way and another there would be a work around for this problem