objWshNetwork.MapNetworkDrive "X:", "\\a002\本地磁盘 (D)" '将指定UNC路径映射为本机 X 盘
objWshNetwork.MapNetworkDrive "Y:", "\\a002\本地磁盘 (E)" '将指定UNC路径映射为本机 Y 盘
'打开"我的电脑",应该可以看到 X 盘和 Y 盘
'枚举所有网络打印机映射的信息
For i = 0 to objEnumNetworkPrinters.Count - 1 Step 2
MsgBox objEnumNetworkPrinters.Item(i) & " = " & objEnumNetworkPrinters.Item(i+1)
Next