If your team uses your Dlink in bridge mode, here is alternate solution to using the batch file:
configure your router (ours is the original blue, FRC provided linkysis) to automatically give out IP addresses like such 10.21.34.22 via DHCP. Then you can program the robot and surf CD at the same time!
Using the router + wired internet connection also helps get around school wireless issues.
I don't know enough about Robot to Dlink communications to say if the same thing will work if you have your Dlink configured as access point.