Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am working on a program that is changing some cookies to be logged in at a flash game. The program can not be compiled because I want the user to be able to check my code. The program must be able to run from a link on a web page. So I'm trying to run my .vbs script with an URL protocol. I register the protocol with this .reg file:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\script]
@="URL: script Protocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\script\shell]
[HKEY_CLASSES_ROOT\script\shell\open]
[HKEY_CLASSES_ROOT\script\shell\open\command]
@="\"C:\\script.vbs\" %1"

The script.vbs never gets opened. I tried it with an .exe and it worked perfectly. Anybody knows what I have to do differently or another way?

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.