R.Wieser
unread,Jan 3, 2024, 3:18:03 AM1/3/24You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hello all,
I've got some scripts which use CSCRIPT.EXE to run when I click them. They
open a console-like window which allows me to see the "wscript.echo" output
they generate. So far, so good.
The problem is that whenever something/anything goes wrong causing the
script to terminate it also closes the console-like window.
... which means that I can't read the error message about what caused the
script to terminate. :-(
tl;dr:
Is there a setting/way to have cscript.exe wait on error-exit (so I can read
the error message) ?
Remark:
I've just checked the commandline switches, but did not see anything like
it.