2025-04-27 07:49:33 -04:00

14 lines
273 B
Plaintext

on error resume next
set path = CreateObject("WbemScripting.SWbemObjectPath")
WScript.Echo
set disk = GetObject("winmgmts:win32_logicaldisk='C:'")
set path = disk.Path_
WScript.Echo path.Path
WScript.Echo path.Namespace
WScript.Echo path.ParentNamespace