Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 245
  • Last Modified:

Execute a .vbs automatically from a web page in Windows 2000 Server or any windows for that matter

Hi,

I programmed a vbscript file that runs scandisk and it works fine, but when I load it from a web page locally, there is a box that asks me if I want to download the .vbs file or run it.  I don't want this box to appear anymore, I want it to be executed automatically.  Is there something that I can do in the file association for .vbs files for that and if so, how?

By the way I programmed this for a Windows 2000 Server platform, but I got the same problem on XP so if you have an answer for any windows, please tell me.

Thanks for your time.
0
youppi69
Asked:
youppi69
1 Solution
 
StormyWatersCommented:
That would be an extreme security risk. Imagine if your script deleted all the files on the harddrive rather than ran scandisk.

Can't be done.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now