I am writing some script that automatically executes during startup of computer (XP), the script is actually mapping a network drive to windows. The problem I have is that the DHCP in the network is not responding fast enough and that the script executes before the system got IP. So an error would occur.
Before putting the system under AD, my solution is to make the script "Sleep" for about 30 seconds and of course this is just an ad-hoc solution. Any related script that can do such job?