How to return exit status from an HTA (vbscript) to the calling Batch file

Viewed 6579

How to return exit status from an HTA (vbscript) to the calling Batch file ?

My batch file code

@echo OFF
echo Configuring Test...
call AppConfigurationEditor.hta
call TestConfigurationEditor.hta

1.If user click on CANCEL button on the first HTA I dont want to run 2nd HTA.

2.Batch script calls/displays the 2nd HTA immediately, not wait till closing of 1st HTA.

3 Answers
Related