Associate
- Joined
- 31 Oct 2002
- Posts
- 2,315
I want to run a series of commands in a bat file via RSH, but the problem is the destination server can only accept and run one command until it is fully completed before it will accept the next.
If I put all 30 or so commands in a bat file I think it will run the first one and then try to run the other 29 failing because the destination system won't respond.
Is there any wait in a bat file to tell it to run the next command only when the previous command has returned the prompt back to it?
If I put all 30 or so commands in a bat file I think it will run the first one and then try to run the other 29 failing because the destination system won't respond.
Is there any wait in a bat file to tell it to run the next command only when the previous command has returned the prompt back to it?