Synchronizing two batch files

This useful command lets you wait for signals from other command windows or even across the network.

waitfor.exe is in windowssystem32 directory.

The simple case for the tool is in one command window you do a “waitfor foobar” and it’ll block until in another window you do a “waitfor /SI foobar”.

Leave a Reply

Your email address will not be published.