得到本机的电脑名
复制代码 代码如下:
Dim objNet
Set objNet = WScript.CreateObject( "WScript.Network" )
Wscript.Echo objNet.ComputerName & "\" & objNet.UserName
复制代码 代码如下:
Dim objNet
Set objNet = WScript.CreateObject( "WScript.Network" )
Wscript.Echo objNet.ComputerName & "\" & objNet.UserName