Permission Denied when tried to use Run method of WScript.Shell in ASP IIS

A

Aayush Dubey

Hi,

I cannot execute the batch file through my ASP page..The code is below


Set WShShell = Server.CreateObject("WScript.Shell")
s=WshShell.Run("c:\aayush\test.bat",1,False)

the drive c: is a network drive (shared) also the application is kept
on a folder which is shared too (but i think this dosent makes any
difference)...I have set Execute permission for the application in
IIS, Restarted the server many times. Please help ..

Regards
Aayush
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top