Results 1 to 2 of 2

Thread: [resolved]VBScript equivelent of Perl Echo (for use as cgi)

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jun 1999
    Location
    California, USA
    Posts
    662

    Resolved [resolved]VBScript equivelent of Perl Echo (for use as cgi)

    I'm running a non-asp compatible webserver and would like to use Windows Scripting Host to interpret my vbs script. Perl is usually the language of choice, but considering I know VB better...

    Anyway, the interpreter is cscript.exe with the //NoLogo command line option. My script should output to the dos window.

    In vb.net this is done like this
    VB Code:
    1. Console.Write("Content-type: text/plain" & vbCrlf)

    In perl, it uses the Echo statement. I don't know the syntax, so no example is available.

    In c, it is something to the effect of puts("Content-type: text/plain\n\n")

    How do I do this in vbscript?
    Last edited by agent; Jan 27th, 2005 at 02:05 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width