From: Cosmo on
Is there any work-around to create HTA Exit Codes, as Wscript.Quit() doesn't
work within mshta.exe.
From: Han on
Depends on where the code runs within. Within sub or function, exit sub,
exit function will do.

--
Pohwan Han. Seoul. Have a nice day.
"Cosmo" <Cosmo(a)discussions.microsoft.com> wrote in message
news:4A884F1C-4B7A-491F-9339-4E02C99D5F19(a)microsoft.com...
> Is there any work-around to create HTA Exit Codes, as Wscript.Quit()
> doesn't
> work within mshta.exe.

From: Cosmo on
Thank you, although I was after a way to return an Exit Code back to a parent
vbscript (eg. Wscript.Quit(5) ), which can't be used in HTA and Exit Sub(5)
doesn't work.