AppCtrlScript

MAY Computer

Help

CMDSYNC

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

Execution

See also  

CMDASYNC, EXECSHELL, SHELLSYNC, CMDFILEMETHOD

This command executes the given commandline (launches a new process).

It is a synchroneous program call - means that the SCRIPT DOES NOT CONTINUE UNTIL THE CALLED PROCESS HAS FINISHED.

Attention: If the called program ends up in an infinite loop, pops up with a messagebox or does remain in memory after finished (because of an error), your script will not be continued until the called process finishes anyhow or is killed by the user.

Other than the other commands this one uses the system command interpreter to launch the process. It is the same as SHELLSYNC "cmd /c <Commandline>".

Syntax

CMD[SYNC] <Commandline> 

Part

Description

<Commandline> Complete commandline. If the executable contains spaces in filename then you have to enclose the filename in quotation marks ("). If you hardcode the commandline in script code you have to escape them by writing double quotation marks ("").