home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 February / PCWorld_2006-02_cd.bin / software / vyzkuste / triky / triky.exe / autoit-v3-setup.exe / Examples / DriveGetDrive.au3 < prev    next >
Text File  |  2004-09-22  |  179b  |  8 lines

  1. $var = DriveGetDrive( "all" )
  2. If NOT @error Then
  3.     MsgBox(4096,"", "Found " & $var[0] & " drives")
  4.     For $i = 1 to $var[0]
  5.         MsgBox(4096,"Drive " & $i, $var[$i])
  6.     Next
  7. EndIf
  8.