Quote:
Yeah, OK, I've now got a batch file where it tries, in succession, broadcasting to

192.168.2.255
192.168.1.255
192.168.0.255

And then a fourth time with no broadcast address specified.

This is another thread where the real answer is Knoppix. Windows behaves oddly and unhelpfully when you try and broadcast to the all-ones address: it sends packets out on all interfaces, but all with the source address set to that of the primary interface. Needless to say, no other networks' replies are then received. The only way to get sensible behaviour is to do exactly what your script does: send subnet-directed broadcasts to each accessible subnet in turn.

Peter