executing a vbs script

Discussion in 'ASP .Net Web Controls' started by Michael Persaud, Apr 23, 2004.

  1. Hi,

    I am trying to run a script. The script runs when u double click, but when i
    try to use the below it doesnt run.


    If X.Checked = True Then
    'run script

    filepath = Server.MapPath("test.vbs")
    Label1.Text = "File path is:" & filepath
    Process.Start(filepath)

    End If

    I also see in my task manager a number of wscript.exe

    Pls Help

    Thanks
    MP
    Michael Persaud, Apr 23, 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. Cédric Rossé
    Replies:
    1
    Views:
    518
    Cédric Rossé
    Nov 9, 2004
  2. CTBFalcon
    Replies:
    0
    Views:
    383
    CTBFalcon
    Sep 6, 2006
  3. Cheung, Jeffrey Jing-Yen

    Executing VBS file from ASP

    Cheung, Jeffrey Jing-Yen, Aug 29, 2003, in forum: ASP General
    Replies:
    0
    Views:
    93
    Cheung, Jeffrey Jing-Yen
    Aug 29, 2003
  4. Fox
    Replies:
    16
    Views:
    280
  5. p byers

    Executing a VBS file from an ASP page

    p byers, Mar 11, 2008, in forum: ASP General
    Replies:
    4
    Views:
    284
    p byers
    Mar 12, 2008
Loading...

Share This Page