1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to ececute EXE file using ASP on web server !!!

Discussion in 'ASP' started by Bhullarz, Feb 26, 2009.

  1. Bhullarz

    Bhullarz New Member

    Joined:
    Nov 15, 2006
    Messages:
    253
    Likes Received:
    13
    Trophy Points:
    0
    Occupation:
    System Manager
    Home Page:
    I have a few EXE files on server which I want to execute using ASP. Is there any way to execute them?
    On local system, the commands are as follows, which should work on server too...
    Code:
    sample.exe -a first_argument second_argument
    
    Thanks in advance.
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,285
    Likes Received:
    364
    Trophy Points:
    83
    Try running the Shell API
     
  3. indiansword

    indiansword Security Expert

    Joined:
    Oct 19, 2008
    Messages:
    496
    Likes Received:
    36
    Trophy Points:
    0
    Occupation:
    Operation Planner for 3 Australia
    Home Page:
    yea that should work.
     
  4. Bhullarz

    Bhullarz New Member

    Joined:
    Nov 15, 2006
    Messages:
    253
    Likes Received:
    13
    Trophy Points:
    0
    Occupation:
    System Manager
    Home Page:
    nopes. that didn't worked
     
  5. Bhullarz

    Bhullarz New Member

    Joined:
    Nov 15, 2006
    Messages:
    253
    Likes Received:
    13
    Trophy Points:
    0
    Occupation:
    System Manager
    Home Page:
    It may seem funny to you all. I didn't have the write permissions in that folder.
    Instead of Shell API, I used 'ASPExec', because I was not authorized to use Shell API on the server.
     
    Last edited: Feb 28, 2009

Share This Page