Scripting Example 76

; *****************************************************

; Example76.ftp

; =============

; This example shows how to encapsulate the exit codes

; of a spawned application.

; -----------------------------------------------------

; Variables demonstrated:

; ExecExitCode : The Exitcode of an application

; executed by means of

; Local-ExecAndWait command.

;

; -----------------------------------------------------

;

 

local-ExecAndWait "ExitCode.exe"

Message "Return Code: %%ExecExitCode%%"