in reply to system call works on *nix not NT

One thing you might try is makeing a batch file such as

:: rsh.bat echo %1 >> C:\look.txt echo %2 >> C:\look.txt ...
Then try the perl script against the batch file instead of the rsh exe. This should at least confirm that the program is getting the parameters. Aside from that, as others have said, I would try using rsh from the same working directory from the command line and test it there as well.

Replies are listed 'Best First'.
Re^2: system call works on *nix not NT
by Anonymous Monk on Jul 02, 2004 at 08:28 UTC
    Brothers, I am supremely impressed and very greatfull for your time. Two of the mentioned approaches worked. The rsh perl module worked well, as did perl -e "system('rsh hostname -l username -n \'touch test\'')" Thank you, i've realy enjoyed my visit to the monastry...