1

I'm trying to run the following script:

CreateObject("Wscript.Shell").Run "C:\Games\SV\Data\R\Launcher.exe", 0, False

But when I launch the script it says:

Error:
Line: 1
Position: 1

I can't figure out what the problem is. Someone knows how to fix this?

Thanks, Android

3
  • How do you launch your script? Commented Nov 25, 2013 at 10:46
  • is it the system cannot find the path specified error?? Commented Nov 25, 2013 at 10:49
  • You get an error with no error number? Commented Nov 25, 2013 at 10:50

1 Answer 1

1

Line 1, Position 1 seems like to me a compilation error due to script file encoding.
Make sure that the script file is encoded in ANSI or Unicode (Little Endian).

You can save your script files as ANSI or Unicode encoded using Windows Notepad through File > Save As. You'll see encoding options in the Save As dialog.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.