How to execute .vbs from classic asp page?

2 replies

I want to execute .vbs file from classic asp page. How can i achieve this task ?
Suggestion/advice/help needed.

#asp #classic #execute #page #vbs
  • Profile picture of the author codecre8r
    I don't believe this is possible. As far as I understand, .vbs files can only be run from the local computer, and due to security updates on XP and higher, the user is prompted to allow them to run.
    {{ DiscussionBoard.errors[510673].message }}
  • Profile picture of the author mmacmillan
    you cannot execute a vbs file directly from your asp code. However, vbs and classic asp share the same version of vb, so depending on what the content of the vbs (how it utilized server resources), you might be able integrate parts of it into your asp script. also, depending on your permissions on the host, you can also build a COM object that can be called from your asp script which can invoke the vbs on the host/server. good luck!
    {{ DiscussionBoard.errors[531256].message }}

Trending Topics