I'm writing this program, to rsh to some PC, running NT or 95, to run a command. After the command finishes, I need to ftp the output of the remote commeand. Therefore I need to know when the remote command is finished.
1. Is it true that rsh on NT/95 comes back immediately after it submitted the remote command?
2. If so, how do I make it wait? Or how can I be sure the remote command is finished?
here's my rsh command -
rsh ip-address -n c:\abc\theEXE