I would like to use the wscript.echo command, in a *.vbs script, to only
return the specified variable, not a text string and then the variable.
Here's what I don't want:
WScript.Echo "Domain = " & WshNetwork.UserDomain
And here's what I do want:
WScript.Echo & WshNetwork.UserDomain
What is the correct formatting for doing this?
Thanks!
=)
Ray at work
WScript.Echo WshNetwork.UserDomain
"Chriswilly" <Chris...@discussions.microsoft.com> wrote in message
news:975ED5B5-23AB-4415...@microsoft.com...
WScript.Echo WshNetwork.UserDomain
No &.
--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html
=)