var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: How to Execute file (by ASP code)?
I have a file path to a VB file "../Temp/file.vbs"
I want to run this file from an ASP file
How to do it? Do I need to use the Execute object??
What is the code??
Well you can execute is use the Shell Scripting object something like
set WshShell = WScript.CreateObject("WScript.Shell")
but personally I wouldn't. Why do you want to run a command line script? Why not incorporate the VBS into your ASP page, atleast then you could see what the results of running the fie were....
And here are a couple relevant links:
Launch instance of an app with Windows Scripting Host inside an ASP Page - 5/11/2001
4GuysFromRolla.com : ASP FAQS : The Nature of Things
Question: How can I call an executable program from my ASP page? by Bill Wilkinson - 10/17/2000