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.

11 lines
224 B

  1. on Error resume next
  2. Set c = GetObject("winmgmts://./root/cimv2:win32_logicaldisk")
  3. d = c.Derivation_
  4. for x = LBound(d) to UBound(d)
  5. WScript.Echo d(x)
  6. Next
  7. if err <> 0 then
  8. WScript.Echo Err.Description
  9. end if