• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

VBS interact with html or JS?

A

Angel333

Guest
#1
I've got this Code to check if Recycle bin is Full...
How can I react between vbs and html?
It would be good if I can give the result to javascript...
Or just print out anything in html (i.e.: "Full Trash")

Code:
set shell = CreateObject("Shell.Application")
set fs = CreateObject("Scripting.FileSystemObject")
set WSHShell = CreateObject("WScript.Shell")

set folderobject = shell.NameSpace(10)
inhalt = folderobject.Items.Count

if inhalt = 0 then
MSGBOX( "Empty")
else
MSGBOX("Full")
end if

wscript.quit
I don't want the message Boxes...
Any Ideas?
 

Members online

No members online now.

Latest posts

Latest profile posts

Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,016
Latest member
ernestrojasn