thats because your trying to use it before it's been created.
--
Regards
Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk
Keeping it FREE!
Disclaimer:
I know I'm probably wrong, I just like taking part ;o)
Porky <scrooge@noemail.net> wrote in message
news:e2i#DSGuDHA.3144@tk2msftngp13.phx.gbl...[color=blue]
>
> I have modified the asp code as suggested. Now, when I run it, I get
> "Microsoft VBScript runtime (0x800A01A8) Object required: 'wscript' " on
> line 61 which is
>
> set stdout = wscript.stdout
>
> in the code
>
>
> Dim stdout, shell, cmd
> function ExecCmd(cmdline)
> set stdout = wscript.stdout
> set shell = createobject("wscript.shell")
> set cmd = shell.exec(cmdline)
> do until cmd.status = 1: wscript.sleep 5: loop
> ExecCmd = cmd.stdout.readall
> End Function
>
> ExecCmd (".\blat.exe .\prodapp.txt -s " & chr(34) & "Product
> Application Form" & chr(34) & " -t
user@userdomain.com")
>
> I know I am hitting all around the mark, but haven't quite got it. The
> answer is probably painfully obvious as well.
>
> Thanks for the help
>
>
> *** Sent via Developersdex
http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it![/color]