WAITFOR

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
bustercoder
Posts: 1
Joined: 11 Jun 2015 18:36

WAITFOR

#1 Post by bustercoder » 11 Jun 2015 18:39

Hello,

I’m using WaitFor to send a signal from one command window to another. I’m doing that so I know when the process in the second window ends and then the process in the first window can continue.

https://technet.microsoft.com/en-us/lib ... 31613.aspx

Example:

Command Window 1
C:\waitfor blah

It will just sit there indefinitely until the blah signal is sent.

And now in Command Window 2
C:\>waitfor /SI blah

Window 2 will say “SUCCESS: Signal sent.” And then immediately afterwards Window 1 will report “SUCCESS: Signal received.”

This works on my machine but on the Dev AppServer it reports back with “ERROR: Cannot wait for the specified signal”. I’ve been unable to find any documentation whatsoever on this error message…

Any help would be greatly appreciated.

Thanks,
Buster

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: WAITFOR

#2 Post by foxidrive » 12 Jun 2015 09:40

Disable the firewall on the machine and test it - perhaps it is being blocked by the firewall.

Post Reply