Share via

Windows Script Host Error

Anonymous
2023-05-04T21:34:40+00:00

Hello! I am currently trying to edit a files code for a game. I have read through multiple people's threads that have had this issue yet seem to be unable to find a working solution.

When I try to edit the game file it pops up a "Windows Script Host"

Script: E:\SteamLibrary\etc...
Line: 5
Char: 1
Error: Syntax error
Code: 800A03EA
Source: Microsoft JScript compilation error.

The file is a start.js file and my computer is opening it with Microsoft Based Script Host. Should I open it with a different tool? I just updated my Java and it still does not work.

Windows for home | Windows 11 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Les Ferch 10,326 Reputation points Volunteer Moderator
    2023-05-05T01:04:18+00:00

    That's not a Java file. It's a JScript file. It's run by Windows Script Host which is WScript.exe by default, but can also be CScript.exe for console only output.

    The error indicates there is a problem with the script itself. It's just a text file. You can open it with Notepad.

    When you said you edited the "game file" are you talking about that script or some other file?

    1 person found this answer helpful.
    0 comments No comments

Answer accepted by question author

  1. Anonymous
    2023-05-04T23:15:22+00:00

    Hi, I'm Robinson, and I’m happy to help you today.

    This error indicates that there is a command entered wrong at the beginning of line five or at the end of line four. The best tool to edit this file is the Visual Studio Code, with this editor you will see a red line under the command when you type it wrong.

    You can download the Visual Studio Code at this link.

    https://code.visualstudio.com/download

    1 person found this answer helpful.
    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2023-05-04T21:35:09+00:00

    This is the error pop up

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2023-05-05T02:04:00+00:00

    I figured it out. The notepad trick worked. Thank you guys for the support.

    0 comments No comments
  3. Anonymous
    2023-05-05T01:54:44+00:00

    That's not a Java file. It's a JScript file. It's run by Windows Script Host which is WScript.exe by default, but can also be CScript.exe for console only output.

    The error indicates there is a problem with the script itself. It's just a text file. You can open it with Notepad.

    When you said you edited the "game file" are you talking about that script or some other file?

    I am currently trying to edit the game file, i have not yet made any adjustments. Thank you for the insight

    0 comments No comments