running system commands from within ASP

Discussion in 'ASP General' started by Brad Pears, Sep 9, 2004.

  1. Brad Pears

    Brad Pears Guest

    What is the syntax for running say... a batch file (.bat) from within ASP?

    For example... in MS Access you can say something like this...
    ----------------------------------------------------------
    CurrentDBDir = "c:\"
    ShellWait CurrentDBDir & "runthis.bat", vbNormalFocus
    ----------------------------------------------------------

    This would run the "runthis.bat" file located in the c:\ directory...

    How would one accomplish this same thing in ASP?

    Thanks,

    Brad
     
    Brad Pears, Sep 9, 2004
    #1
    1. Advertising

  2. Brad Pears

    Brad Pears Guest

    Yes, I realize that. Not a problem as GnuPG will be installed on the
    providers win2k3 web server.
    Can you send me an exacmple of the actual syntax of the shell call?

    Thanks,

    Brad

    "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
    news:...
    > there is the Shell call from wscript but you realize this will run on the
    > SERVER right?
    >
    >
    > --
    > Curt Christianson
    > Owner/Lead Developer, DF-Software
    > Site: http://www.Darkfalz.com
    > Blog: http://blog.Darkfalz.com
    >
    >
    > "Brad Pears" <> wrote in message
    > news:%...
    > > What is the syntax for running say... a batch file (.bat) from within

    ASP?
    > >
    > > For example... in MS Access you can say something like this...
    > > ----------------------------------------------------------
    > > CurrentDBDir = "c:\"
    > > ShellWait CurrentDBDir & "runthis.bat", vbNormalFocus
    > > ----------------------------------------------------------
    > >
    > > This would run the "runthis.bat" file located in the c:\ directory...
    > >
    > > How would one accomplish this same thing in ASP?
    > >
    > > Thanks,
    > >
    > > Brad
    > >
    > >

    >
    >
     
    Brad Pears, Sep 10, 2004
    #2
    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. caleb
    Replies:
    0
    Views:
    2,902
    caleb
    Jan 3, 2006
  2. jon c
    Replies:
    0
    Views:
    430
    jon c
    Feb 11, 2004
  3. Anonymous
    Replies:
    0
    Views:
    220
    Anonymous
    Apr 3, 2008
  4. Daniel Waite
    Replies:
    1
    Views:
    120
    Ryan Davis
    Apr 30, 2010
  5. qazmlp
    Replies:
    6
    Views:
    653
Loading...

Share This Page