Microsoft® Windows® Script Host Windows Script Host Error Messages |
WSH Reference |
Error Message Possible Cause The shortcut path name must end with .lnk or .url. Attempting to create a shortcut with a bad file extension. There is no printer called ""%1"". Bad printer name in SetDefaultPrinter. Unable to remove environment variable ""%1"". Calling Environment.Remove on a nonexistent environment variable. Unable to remove registry key ""%1"". Calling RegDelete on a nonexistent registry key. Invalid root in registry key ""%1"". Calling RegRead or RegWrite on an invalid registry key. Unable to open registry key ""%1"" for reading. Calling RegRead on a nonexistent registry key. Unable to write to wsh.log. Please check with your administrator. Calling LogEvent on Win9x when the %windir%\wsh.log file is locked. Unable to save shortcut ""%1"". Attempting to save a shortcut or a URL shortcut that already exists and is read-only. Protocol handler for ""%1"" failed to execute. Attempting to set a URL shortcut target to an improperly registered protocol handler. Invalid syntax in URL: ""%1"". Attempting to set a URL shortcut target to a misspelled URL. Protocol handler for ""%1"" not found. Attempting to set a URL shortcut target to a URL with a nonexistent protocol handler. Unable to execute - argument list is too long. Too many items dropped on a script file during a drag and drop operation. Unable to wait for process. Waiting on a process that cannot be waited on, such as waiting for the result from running a shortcut link.