Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 10: Won't execute, opens in Notepad++ #48

Closed
Zanto413 opened this issue Aug 15, 2016 · 10 comments
Closed

Windows 10: Won't execute, opens in Notepad++ #48

Zanto413 opened this issue Aug 15, 2016 · 10 comments

Comments

@Zanto413
Copy link

So it seems like I don't know how to make this work.
You say we must doubleclick on the vbs file, but if I do that, it just opens in Notepad++.
Even if I tell Windows 10 to open the file with "Microsoft® Windows Based Script Host".

Are there some dependencies you haven't mentioned?
Visual Studio or something?

@lenosisnickerboa
Copy link
Owner

No, no special dependencies like VS, you should be able to just
double-click and it should run.

Youd could try running the script manually from command line (e.g. here
http://windowsitpro.com/scripting/how-do-i-run-windows-script-command-line)
to see if it is just a problem with the filetype association.

If that works I would suggest resetting the .vbs file type association to
default and see if that works.

On Mon, Aug 15, 2016 at 12:40 PM, Zanto413 notifications@github.com wrote:

So it seems like I don't know how to make this work.
You say we must doubleclick on the vbs file, but if I do that, it just
opens in Notepad++.
Even if I tell Windows 10 to open the file with "Microsoft® Windows Based
Script Host".

Are there some dependencies you haven't mentioned?
Visual Studio or something?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#48, or mute the thread
https://github.com/notifications/unsubscribe-auth/AQGy9oNYNBrxe0epTaVjmo4w7F9RhDwqks5qgEIpgaJpZM4JkR-L
.

@Zanto413
Copy link
Author

Still the same.
Any better options?

vbs_default
def_prog

@lenosisnickerboa
Copy link
Owner

This is a long shot, where did you extract the csgosl archive? If it was to
some external/USB drive it could be a problem. Try copying the complete
folder to somewhere on C:, e.g. the desktop.

Den 15 aug. 2016 4:50 em skrev "Zanto Sagrochskji" <notifications@github.com

:

Still the same.
Any better options?

[image: vbs_default]
https://cloud.githubusercontent.com/assets/7524975/17668123/321f8a44-6308-11e6-88fd-a7af7a4ae480.png
[image: def_prog]
https://cloud.githubusercontent.com/assets/7524975/17668124/322382b6-6308-11e6-9edc-f1f866c74751.png


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#48 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQGy9sBPLxPlXLKOwzZIiJhU1uCuoh57ks5qgHx9gaJpZM4JkR-L
.

@Zanto413
Copy link
Author

Extracted it in Downloads folder

@lenosisnickerboa
Copy link
Owner

Didn't get an answer about what happened when you tried to run manually?

Otherwise I'm out of ideas, perhaps create a dummy HelloWorld vbs script
and see if that runs?

On Tue, Aug 16, 2016 at 5:23 PM, Zanto Sagrochskji <notifications@github.com

wrote:

Extracted it in Downloads folder


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#48 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQGy9uN4N88N-I3YcrxWxiUFAa7LfJAdks5qgdXzgaJpZM4JkR-L
.

@Zanto413
Copy link
Author

How do you mean by manually?
General problem is that MS Windows Based Script Host tells Windows or whatever, to open VBS scripts in Notepad++.
But since this doesn't work, I'll just give up and blame Microsoft for making some bullshit (I hate Win 10)...

@lenosisnickerboa
Copy link
Owner

Manually like instead of clicking on the csgosl.vbs file open a command
prompt, cd to the folder where csgosl.vbs is located and enter:

wscript csgosl.vbs

It is described here:
http://windowsitpro.com/scripting/how-do-i-run-windows-script-command-line
(there
is a typo, cscipt should be cscript)

If that works the only problem is the file type association which may be
easier to solve than if you have some error making it impossible to execute
vbs scripts.

On Wed, Aug 17, 2016 at 8:27 PM, Zanto Sagrochskji <notifications@github.com

wrote:

How do you mean by manually?
General problem is that MS Windows Based Script Host tells Windows or
whatever, to open VBS scripts in Notepad++.
But since this doesn't work, I'll just give up and blame Microsoft for
making some bullshit (I hate Win 10)...


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#48 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQGy9lRv51W0fPJ-x7oWAs7zIqTXlb-sks5qg1KbgaJpZM4JkR-L
.

@lenosisnickerboa
Copy link
Owner

No reply -> closed.

@CADbloke
Copy link

for Googlers, this was handy for resetting the default for VBS scripts: https://www.tenforums.com/tutorials/8703-restore-default-file-type-associations-windows-10-a.html ...search for "vbs" on that page for the .reg file to fix the file association.

@lenosisnickerboa
Copy link
Owner

lenosisnickerboa commented Aug 23, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants