in reply to Re: system call works on *nix not NT
in thread system call works on *nix not NT

Oh yeah, of course that's what I was trying to remember. Quoting is different on DOS boxes. Try this instead:

perl -e "system(\"rsh hostname -l username -n \"touch test\"\")"

From memory (sorry I don't have a Windows box to test on), single quotes don't work very well in the MSDOS prompt. So you need to use double quotes instead. And then you need to escape the double quotes inside the double quotes, or else use single quotes which Perl can handle:

perl -e "system('rsh hostname -l username -n \'touch test\'')"