Hi,

I was trying to run a vbscript from ASP page. Knowing that the ASP page
have administrative permissions.

.bat  files are running correctly, but the .vbs fails to show the result

no error messages are returned to screen!!!

Code used:

Dim shell
Set shell=Server.CreateObject("WScript.Shell")

'the following does not fail but does not perform the task
call shell.run("c:\directory1\myscript.vbs",1,true) 

'the following command works perfect
call shell.run("c:\directory1\myscript2.bat,1,true) 



set shell=nothing

any suggestions


---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to