|
ComputerName (WshNetwork オブジェクト)
object.ComputerName
引数
解説
コンピュータ名を返します。 使用例
Set WshNetwork = WScript.CreateObject("WScript.Network")
WScript.Echo WshNetwork.ComputerName
関連項目
UserDomain|UserName|AddWindowsPrinterConnection|AddPrinterConnection|EnumNetworkDrives|EnumPrinterConnection|MapNetworkDrive|RemoveNetworkDrive| |
WSHリファレンス
FileSystemObject オブジェクト Drive オブジェクト Folder オブジェクト File オブジェクト Drives コレクション Folders コレクション Files コレクション |