vbscript to get computer name

P

Paola

I need to dynamically pull the computer name for my
script. What is the call to get computer name?

Thanks,
Paola
 
D

Douglas J. Steele

Not on my machine. I do not have an environment variable CNAME defined.

In any case, environment variables are seldom that appropriate an approach,
since it's trivial to reset them.
 
Top