in reply to system call works on *nix not NT

1. Make sure you have an RSH.EXE in your path. Better, use a full pathname.

2. There's a chance you're bitten by shell quoting. Try using the LIST variant of system:
system ($RSH, qw/hostname -l username -n/, "touch test")  == 0 or die "system: $?";

3. Check the return value of system!