Professional Web Applications Themes

My Script to run a Command-Line from ASP does not work. - ASP.NET Building Controls

Hi, My Script to run a Command-Line from ASP does not work. No errors are returned either. It is on IIS. The directory where the script exists is on Drive I:, The executable .exe is on Drive D: Do you see any problems with the script below? Can you help me modify it? <% Dim objWSS Const cCMD = "clw45.exe -i k:\o

.wmv -o k:\o .ghh -w 128 -df 0 -m 2 -p" Set objWSS = CreateObject("WScript.Shell") objWSS.CurrentDirectory = "D:\Program Files\Program\The Program\" objWSS.Run "%COMSPEC% /c " & cCMD,,True %>...

  1. #1

    Default My Script to run a Command-Line from ASP does not work.

    Hi,
    My Script to run a Command-Line from ASP does not work. No errors are
    returned either.
    It is on IIS. The directory where the script exists is on Drive I:, The
    executable .exe is on Drive D:
    Do you see any problems with the script below? Can you help me modify it?

    <%
    Dim objWSS
    Const cCMD = "clw45.exe -i k:\o\1.wmv -o k:\o\2.ghh -w 128 -df 0 -m
    2 -p"
    Set objWSS = CreateObject("WScript.Shell")
    objWSS.CurrentDirectory = "D:\Program Files\Program\The Program\"
    objWSS.Run "%COMSPEC% /c " & cCMD,,True
    %>


    Lucas Cowald Guest

  2. #2

    Default My Script to run a Command-Line from ASP does not work.

    Hi,
    My Script to run a Command-Line from ASP does not work. No errors are
    returned either.
    It is on IIS. The directory where the script exists is on Drive I:, The
    executable .exe is on Drive D:
    Do you see any problems with the script below? Can you help me modify it?

    <%
    Dim objWSS
    Const cCMD = "clw45.exe -i k:\o\1.wmv -o k:\o\2.ghh -w 128 -df 0 -m
    2 -p"
    Set objWSS = CreateObject("WScript.Shell")
    objWSS.CurrentDirectory = "D:\Program Files\Program\The Program\"
    objWSS.Run "%COMSPEC% /c " & cCMD,,True
    %>

    Thank you very much for your help.
    Lucas


    Lucas Cowald Guest

  3. #3

    Default My Script to run a Command-Line from ASP does not work.

    Hi,
    My Script to run a Command-Line from ASP does not work. No errors are
    returned either.
    It is on IIS. The directory where the script exists is on Drive I:, The
    executable .exe is on Drive D:
    Do you see any problems with the script below? Can you help me modify it?

    <%
    Dim objWSS
    Const cCMD = "clw45.exe -i k:\o\1.wmv -o k:\o\2.ghh -w 128 -df 0 -m
    2 -p"
    Set objWSS = CreateObject("WScript.Shell")
    objWSS.CurrentDirectory = "D:\Program Files\Program\The Program\"
    objWSS.Run "%COMSPEC% /c " & cCMD,,True
    %>

    Thank you very much for your help.
    Lucas


    Lucas Cowald Guest

  4. #4

    Default My Script to run a Command-Line from ASP does not work.

    Hi,
    My Script to run a Command-Line from ASP does not work. No errors are
    returned either.
    It is on IIS. The directory where the script exists is on Drive I:, The
    executable .exe is on Drive D:
    Do you see any problems with the script below? Can you help me modify it?

    <%
    Dim objWSS
    Const cCMD = "clw45.exe -i k:\o\1.wmv -o k:\o\2.ghh -w 128 -df 0 -m
    2 -p"
    Set objWSS = CreateObject("WScript.Shell")
    objWSS.CurrentDirectory = "D:\Program Files\Program\The Program\"
    objWSS.Run "%COMSPEC% /c " & cCMD,,True
    %>

    Thank you very much for your help.
    Lucas


    Lucas Cowald Guest

  5. #5

    Default My Script to run a Command-Line from ASP does not work.

    Hi,
    My Script to run a Command-Line from ASP does not work. No errors are
    returned either.
    It is on IIS. The directory where the script exists is on Drive I:, The
    executable .exe is on Drive D:
    Do you see any problems with the script below? Can you help me modify it?

    <%
    Dim objWSS
    Const cCMD = "clw45.exe -i k:\o\1.wmv -o k:\o\2.ghh -w 128 -df 0 -m
    2 -p"
    Set objWSS = CreateObject("WScript.Shell")
    objWSS.CurrentDirectory = "D:\Program Files\Program\The Program\"
    objWSS.Run "%COMSPEC% /c " & cCMD,,True
    %>

    Thank you very much for your help.
    Lucas


    Lucas Cowald Guest

  6. #6

    Default Re: My Script to run a Command-Line from ASP does not work.

    Take a look here. [url]www.aspfaq.com/5003[/url]

    Ray at work

    "Lucas Cowald" <nospamnospamthanks.com> wrote in message
    news:TeCdnTF4D7f75AqiRVn-igcomcast.com...
    > Hi,
    > My Script to run a Command-Line from ASP does not work. No errors are
    > returned either.
    > It is on IIS. The directory where the script exists is on Drive I:, The
    > executable .exe is on Drive D:
    > Do you see any problems with the script below? Can you help me modify it?
    >
    > <%
    > Dim objWSS
    > Const cCMD = "clw45.exe -i k:\o\1.wmv -o k:\o\2.ghh -w 128 -df 0 -m
    > 2 -p"
    > Set objWSS = CreateObject("WScript.Shell")
    > objWSS.CurrentDirectory = "D:\Program Files\Program\The Program\"
    > objWSS.Run "%COMSPEC% /c " & cCMD,,True
    > %>
    >
    > Thank you very much for your help.
    > Lucas
    >
    >

    Ray at Guest

  7. #7

    Default Re: My Script to run a Command-Line from ASP does not work.

    [url]www.aspfaq.com/5003[/url]

    Ray at work

    "Lucas Cowald" <nospamnospamthanks.com> wrote in message
    news:-JGdnbvrNcrn5AqiRVn-jgcomcast.com...
    > Hi,
    > My Script to run a Command-Line from ASP does not work. No errors are
    > returned either.
    > It is on IIS. The directory where the script exists is on Drive I:, The
    > executable .exe is on Drive D:
    > Do you see any problems with the script below? Can you help me modify it?
    >
    > <%
    > Dim objWSS
    > Const cCMD = "clw45.exe -i k:\o\1.wmv -o k:\o\2.ghh -w 128 -df 0 -m
    > 2 -p"
    > Set objWSS = CreateObject("WScript.Shell")
    > objWSS.CurrentDirectory = "D:\Program Files\Program\The Program\"
    > objWSS.Run "%COMSPEC% /c " & cCMD,,True
    > %>
    >
    > Thank you very much for your help.
    > Lucas
    >
    >

    Ray at Guest

  8. #8

    Default Re: My Script to run a Command-Line from ASP does not work.

    On Wed, 22 Oct 2003 23:47:06 -0700, Lucas Cowald wrote:
    > Hi,
    > My Script to run a Command-Line from ASP does not work. No errors are
    > returned either.
    > It is on IIS. The directory where the script exists is on Drive I:, The
    > executable .exe is on Drive D:
    > Do you see any problems with the script below? Can you help me modify it?
    >
    > <%
    > Dim objWSS
    > Const cCMD = "clw45.exe -i k:\o\1.wmv -o k:\o\2.ghh -w 128 -df 0 -m
    > 2 -p"
    > Set objWSS = CreateObject("WScript.Shell")
    > objWSS.CurrentDirectory = "D:\Program Files\Program\The Program\"
    > objWSS.Run "%COMSPEC% /c " & cCMD,,True
    > %>
    >
    > Thank you very much for your help.
    > Lucas
    I'm not an .asp expert, but since asp is run on the server, who will see
    the command line? It certainly won't be seen on the client machine (if
    that is your intent).

    Perhaps you can create a component that is downloaded and installed on the
    client that then invokes the command line app installed on the client.

    If I have mis-interpreted your intent, please correct me.


    --
    Chris

    To send me an E-mail, remove the underscores and lunchmeat from my E-Mail
    address.
    Chris Dunaway Guest

  9. #9

    Default Re: My Script to run a Command-Line from ASP does not work.

    Hi, Thank you for your reply. Everything is run on the same machine, the
    IIS, and all programs.

    "Chris Dunaway" <dunawayc_lunchmeat_sbcglobal.net> wrote in message
    news:1dl1wn22yryd7.1xh316ux4d0mi$.dlg40tude.net.. .
    > On Wed, 22 Oct 2003 23:47:06 -0700, Lucas Cowald wrote:
    >
    > > Hi,
    > > My Script to run a Command-Line from ASP does not work. No errors are
    > > returned either.
    > > It is on IIS. The directory where the script exists is on Drive I:, The
    > > executable .exe is on Drive D:
    > > Do you see any problems with the script below? Can you help me modify
    it?
    > >
    > > <%
    > > Dim objWSS
    > > Const cCMD = "clw45.exe -i k:\o\1.wmv -o k:\o\2.ghh -w 128 -df 0 -m
    > > 2 -p"
    > > Set objWSS = CreateObject("WScript.Shell")
    > > objWSS.CurrentDirectory = "D:\Program Files\Program\The Program\"
    > > objWSS.Run "%COMSPEC% /c " & cCMD,,True
    > > %>
    > >
    > > Thank you very much for your help.
    > > Lucas
    >
    > I'm not an .asp expert, but since asp is run on the server, who will see
    > the command line? It certainly won't be seen on the client machine (if
    > that is your intent).
    >
    > Perhaps you can create a component that is downloaded and installed on the
    > client that then invokes the command line app installed on the client.
    >
    > If I have mis-interpreted your intent, please correct me.
    >
    >
    > --
    > Chris
    >
    > To send me an E-mail, remove the underscores and lunchmeat from my E-Mail
    > address.

    Lucas Cowald Guest

  10. #10

    Default Re: My Script to run a Command-Line from ASP does not work.

    Please stop doing it. I need to get a solution to my problem.

    "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
    news:eqTf5dWmDHA.3256tk2msftngp13.phx.gbl...
    > [url]www.aspfaq.com/5003[/url]
    >
    > Ray at work
    >
    > "Lucas Cowald" <nospamnospamthanks.com> wrote in message
    > news:-JGdnbvrNcrn5AqiRVn-jgcomcast.com...
    > > Hi,
    > > My Script to run a Command-Line from ASP does not work. No errors are
    > > returned either.
    > > It is on IIS. The directory where the script exists is on Drive I:, The
    > > executable .exe is on Drive D:
    > > Do you see any problems with the script below? Can you help me modify
    it?
    > >
    > > <%
    > > Dim objWSS
    > > Const cCMD = "clw45.exe -i k:\o\1.wmv -o k:\o\2.ghh -w 128 -df 0 -m
    > > 2 -p"
    > > Set objWSS = CreateObject("WScript.Shell")
    > > objWSS.CurrentDirectory = "D:\Program Files\Program\The Program\"
    > > objWSS.Run "%COMSPEC% /c " & cCMD,,True
    > > %>
    > >
    > > Thank you very much for your help.
    > > Lucas
    > >
    > >
    >
    >

    Lucas Cowald Guest

  11. #11

    Default Re: My Script to run a Command-Line from ASP does not work.

    Hi Lucas,

    I believe you could get better luck by posting to a ASP newgroups; this one
    is currently for ASP.NET and its about building custom controls.

    --
    Victor Garcia Aprea
    Microsoft MVP | ASP.NET
    Looking for insights on ASP.NET? Read my blog:
    [url]http://obies.com/vga/blog.aspx[/url]

    To contact me remove 'NOSPAM'. Please post all questions to the newsgroup

    and not by private mail.
    "Lucas Cowald" <nospamnospamthanks.com> wrote in message
    news:DridnU7mLaAK5QqiRVn-gAcomcast.com...
    > Hi,
    > My Script to run a Command-Line from ASP does not work. No errors are
    > returned either.
    > It is on IIS. The directory where the script exists is on Drive I:, The
    > executable .exe is on Drive D:
    > Do you see any problems with the script below? Can you help me modify it?
    >
    > <%
    > Dim objWSS
    > Const cCMD = "clw45.exe -i k:\o\1.wmv -o k:\o\2.ghh -w 128 -df 0 -m
    > 2 -p"
    > Set objWSS = CreateObject("WScript.Shell")
    > objWSS.CurrentDirectory = "D:\Program Files\Program\The Program\"
    > objWSS.Run "%COMSPEC% /c " & cCMD,,True
    > %>
    >
    >

    Victor Garcia Aprea [MVP] Guest

Similar Threads

  1. Replies: 5
    Last Post: January 23rd, 02:53 AM
  2. command line commands passed to perl script?
    By Ben Crane in forum PERL Beginners
    Replies: 5
    Last Post: December 9th, 10:18 PM
  3. My Script to run a Command-Line from ASP does not work
    By Lucas Cowald in forum ASP.NET Web Services
    Replies: 0
    Last Post: October 23rd, 06:46 AM
  4. [PHP] execute command line script from browser
    By Jay Blanchard in forum PHP Development
    Replies: 0
    Last Post: September 2nd, 12:40 PM
  5. execute command line script from browser
    By Rodney Green in forum PHP Development
    Replies: 0
    Last Post: August 30th, 05:02 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139