AppCtrlScript

MAY Computer

Help

SHELLASYNC

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

Execution

See also  

SHELLSYNC, RUNASYNC, EXECSHELL

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

It is a asynchroneous program call - means that the SCRIPT IMMEDIATELY CONTINUES WITH THE NEXT LINE OF CODE.

For windowless applications the RUNASYNC command might be the preferred command, for all other executables you should use this command.

Syntax

SHELL[ASYNC] <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 ("").

 

Samples

SHELL """C:\Program File\MyApp\MyExe.exe"" /config"