Windows Script Debugger Is Not Started If Windows Script Host Detects a Script Error

ID: Q234063


The information in this article applies to:
  • Microsoft Windows 2000 Server


SUMMARY

When Windows Script Host finds an error in a script, it displays an error message instead of loading the Windows Scripting Debugger and displaying the error in the text file.


MORE INFORMATION

In Windows 2000, the Windows Scripting Debugger is not started by default when a script error is detected. You can debug the error by setting a temporary switch for the Windows Script Host. At a command prompt, type the following line

wscript bad_script_name.xxx //X
where bad_script_name.xxx is the script file name and //X is a switch that starts the debugger.

Typing wscript /? displays the syntax for Wscript.exe and the available options.

Additional query words:

Keywords : kbtool kbui
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: December 30, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.