On Windows XP, can I have a batch file or script or executable
automatically run whenever a network connection is established (or
broken)? It's for a notebook computer which is connected and
disconnected to the network during the day.

thanks,

Tim