Executing a program with ASP

TheWizardofInt
08-15-2002, 07:18 AM
I want to activate an program called program.exe from ASP

Do I open an ActiveX dll, and use a shell statement?

Sorry about the basic question, but I am new to the world of ASP

Thanks

Bob

Sylvain
08-15-2002, 07:37 AM
Hi,

Use the object shell.

set wshell = server.createobject("wscript.shell")
wshell.run "c:\program.exe"

TheWizardofInt
08-15-2002, 07:42 AM
Why - that's easy!

Quote from Monty Python's Holy Grail, second knight who crossed the Bridge of Doom (Sir Gawain the Chicken Hearted?).

But thank you VERY much

Rezner
08-15-2002, 08:17 AM
FYI: This is only going to shell the program on the server... and not the client.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum