Help with Objet required
- From: Juanjillo <juanjillo_____NOSPAM___@xxxxxxxxx>
- Date: Mon, 19 May 2008 11:43:15 +0200
Hi to all.
I have this script in example1.vbs:
Dim objshell, objnetwotk
Set objshell = WScript.CreateObject("Wscript.Shell")
Set objnetwork = WScript.CreateObject("Wscript.Network")
Dim vdom, vuser
Set vdom = objnetwork.UserDomain
Set vuser = objnetwork.UserName
wscript.echo "Welcome to the domain: " & vdom & ", " & vuser & "."
when i execute this command with csript example1.vbs y have this response.
Object is requied [string: "Mydomainname"]
Thanks.
--
Agures
.
- Follow-Ups:
- Re: Help with Objet required
- From: Richard Mueller [MVP]
- Re: Help with Objet required
- Prev by Date: EMBED and IFRAME in HTA on Vista
- Next by Date: XCACLS /I Copy fails with Errormessage (Msg#4306)
- Previous by thread: EMBED and IFRAME in HTA on Vista
- Next by thread: Re: Help with Objet required
- Index(es):