|
-
Jan 27th, 2005, 01:10 AM
#1
Thread Starter
Fanatic Member
[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:
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.
-
Jan 27th, 2005, 02:04 AM
#2
Thread Starter
Fanatic Member
Re: VBScript equivelent of Perl Echo (for use as cgi)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|