Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

5 lines
156 B

set obj = getobject("winmgmts:win32_logicaldisk='C:'")
set ser = obj.Parent_
set obj2 = ser.Get ("Win32_LogicalDisk='D:'")
WScript.Echo obj2.Path_.Path