CmdID

CmdID / Commands

waitfor

Sends or waits for a signal on a system. Windows commands reference

On Windows File waitfor.exe

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0

Sends or waits for a signal on a system. This command is used to synchronize computers across a network.

waitfor [/s <computer> [/u [<domain>\]<user> [/p [<password>]]]] /si <signalname>
waitfor [/t <timeout>] <signalname>

To wait until the espresso\build007 signal is received, type

waitfor espresso\build007Identify

To wait *10 seconds* for the espresso\compile007 signal to be received before timing out, type

waitfor /t 10 espresso\build007Identify
/tSpecifies the number of seconds to wait for a signal. Windows commands reference

To manually activate the espresso\build007 signal, type

waitfor /si espresso\build007Identify
/siSends the specified signal across the network. Windows commands reference
/s <computer>Specifies the name or IP address of a remote computer (don't use backslashes). The default is the local computer. This parameter applies to all files and folders specified in the command. If you don't use this parameter, the signal is broadcast to all the systems in a domain. If you do use this parameter, the signal is sent only to the specified system.
/u [<domain>]<user>Runs the script using the credentials of the specified user account. By default, waitfor uses the current user's credentials.
/p [<password>]Specifies the password of the user account that is specified in the /u parameter.
/siSends the specified signal across the network. This parameter also lets you manually activate a signal.
/t <timeout>Specifies the number of seconds to wait for a signal. By default, waitfor waits indefinitely.
<signalname>Specifies the signal that waitfor waits for or sends. This parameter isn't case-sensitive and can't exceed 225 characters. Valid characters include a-z, A-Z, 0-9, and the ASCII extended character set (128-255).
/?Displays help at the command prompt.