Execute

Executes a program.

SYNTAX
Execute(commandLine,commandShow) 
ARGUMENTS

commandLine Path to the program
commandShow Win32 API parameter that defines how the window is opened

RETURN ProgramHandle
EXAMPLE
PrgHandle = Execute("C:\Tools\ProgramName.EXE",1)

Note for 64-bit operating systems

KCM Studio is a 32-bit program. If you use the ExecuteSynchron command to start a program from the directory %windir%\System32, you need to define the directory %windir%\Sysnative instead.

If you use the ExecuteSynchron command to start a program from the directory C:\windows\System32, you need to define the directory C:\windows\Sysnative instead.

For more information on the File System Redirector, see the Microsoft Developer Network website: msdn.microsoft.com.