Groups | Search | Server Info | Login | Register
Groups > alt.comp.lang.vbscript > #3
| From | "R.Wieser" <address@is.invalid> |
|---|---|
| Newsgroups | alt.comp.lang.vbscript |
| Subject | cscript : how to keep the console window open when an error occurs ? |
| Date | 2024-01-03 09:17 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <un357q$34rur$1@dont-email.me> (permalink) |
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.
Back to alt.comp.lang.vbscript | Previous | Next — Next in thread | Find similar
cscript : how to keep the console window open when an error occurs ? "R.Wieser" <address@is.invalid> - 2024-01-03 09:17 +0100 Re: cscript : how to keep the console window open when an error occurs ? "R.Wieser" <address@is.invalid> - 2024-03-03 20:14 +0100
csiph-web