columbiaRiver
asked on
have rsh to wait for a remote command to finish
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
Thanks!
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
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I see your idea. Although there's other part of the yourNewCmdFile (I didn't mention) can not run on the ip-address machine, I thank you for your good idea and solution.
Could you please clarify?