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.

14 lines
244 B

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