On NT, I use Perl en lieu of the shell to write scripts. The script for
running netserver is simply:
while (1) {
netserver <args>
}
and I introduce a sleep(3) before I start each netperf client to
"make sure" the netserver has had time to restart.
Perl for Win32 is available in many places, notably from some Microsoft
Resource Kit and from ActiveWare (www.activeware.com.) There are also
commercially unencumbered ports.
Juan