Lucas
Thu Oct 23 17:54:01 CDT 2003
Hi Michael,
I tried your advice. I get exit code: 1
But the script still does not run the command. When I do it in the Command
window manually, it runs. Below is the latest that I tried:
<%
Dim objWSS, Path, cCMD, exitCode
Path = "D:\Program Files\Oplayo\Oplayo Command Line Encoder 5.5.1 for
J2ME\"
cCMD= "cle55.exe -i k:\o\1.mpeg -o k:\o\2.mvq -w 128 -df 0 -m 2 -p"
Set objWSS = CreateObject("WScript.Shell")
objWSS.Run "%COMSPEC% /c " & Path & cCMD,,True
exitCode = objWSS.Run ("%COMSPEC% /c " & Path & cCMD,,True)
Response.Write exitCode
%>
"Michael Harris (MVP)" <mikhar@mvps.org> wrote in message
news:%23%23C$MCbmDHA.3688@TK2MSFTNGP11.phx.gbl...
> Lucas Cowald wrote:
> > Please stop doing it. I need to get a solution to my problem.
>
>
> See my reply on the copy you posted to
>
> microsoft.public.inetsdk.programming.scripting.vbscript
>
> I also hope you see the point of what Ray is trying to tell you ;-)...
>
>
>
> --
> Michael Harris
> Microsoft.MVP.Scripting
>
> Microsoft® Windows®2000 Scripting Guide
>
http://www.microsoft.com/technet/scriptcenter/scrguide/sagsas_overview.asp
>
> TechNet Script Center Sample Scripts
>
http://www.microsoft.com/downloads/release.asp?ReleaseID=38942
>
> WSH 5.6 documentation download
>
http://www.microsoft.com/downloads/details.aspx?FamilyId=01592C48-207D-4BE1-8A76-1C4099D7BBB9&displaylang=en
>
>