View previous topic :: View next topic |
Author |
Message |
kalanmaksa -
Joined: 03 Jan 2003 Posts: 5
|
Posted: Tue Jan 07, 2003 10:41 pm Post subject: Support to Windows Scripting Host |
|
|
Hi!
I have made some experiments with Windows Scripting Host.
It can be used as CGI but there some problems.
I use c:\winnt\system32\cscript.exe
when run myprog.vbs it runs ok but i cant make myprog.vbs send messages (Location: myform.htm) back to user cause cscript.exe displays its logo every time it runs.
When i disable cscript.exe to display no logo from windows registry it runs my script forwards to myform.htm but then it opens download file process window.
For now i have made simple exe that gets all messages from server and redirects them "cscript.exe //Nologo myprog.vbs" it works fine.
Problem is that i dont want to use any exe
Do i miss some config or is ms-scripting not supported? yet ;-) |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Jan 08, 2003 12:14 am Post subject: Re: Support to Windows Scripting Host |
|
|
There is no special support for Windows Scripting now. CScript is considered as any regular CGI interpreter.
We will some test on it and give you more information as soon as possible. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
kalanmaksa -
Joined: 03 Jan 2003 Posts: 5
|
Posted: Fri Nov 28, 2003 1:29 pm Post subject: Cscript support now? |
|
|
Hello after break..
Short question: Is there support to Windows Scripting Host (Cscript) now? |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sun Nov 30, 2003 6:20 pm Post subject: Re: Cscript support now? |
|
|
kalanmaksa,
Can you please post here your .vbs file or send it to us to support@aprelium.com. We'd like to test it and see what was wrong with it. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
kalanmaksa -
Joined: 03 Jan 2003 Posts: 5
|
Posted: Thu Dec 04, 2003 1:22 pm Post subject: The Test.vbs Script |
|
|
'Test.vbs
'Here is test script. Output to logfile works fine,
' but i cant put any text to browser.
Wscript.Echo "Content-type: text/plain"
Wscript.Echo chr(10) 'Linefeed
Wscript.Echo "Plain text test!"
'Put time to logfile
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.OpenTextFile(".\test_time.txt",8, True)
f.Writeline now |
|
Back to top |
|
|
|