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

Discussion in 'ASP General' started by Aayush Dubey, Aug 13, 2004.

  1. Aayush Dubey

    Aayush Dubey Guest

    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
    Aayush Dubey, Aug 13, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bill
    Replies:
    3
    Views:
    658
  2. Kyle

    WScript.Shell Run Error

    Kyle, Jan 19, 2004, in forum: ASP General
    Replies:
    0
    Views:
    951
  3. gadya

    access denied to wscript.shell

    gadya, Sep 22, 2004, in forum: ASP General
    Replies:
    0
    Views:
    170
    gadya
    Sep 22, 2004
  4. LamSoft
    Replies:
    2
    Views:
    172
    LamSoft
    Aug 4, 2006
  5. stevewa
    Replies:
    2
    Views:
    430
    stevewa
    Aug 13, 2008
Loading...

Share This Page