This useful command lets you wait for signals from other command windows or even across the network.
waitfor.exe is in windows\system32 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”.