home *** CD-ROM | disk | FTP | other *** search
/ PCNET 2006 September - Disc 1 / PCNET_CD_2006_09.iso / shareware / autoit-v3-setup.exe / Examples / Helpfile / _FileListToArray.au3 < prev    next >
Encoding:
Text File  |  2006-06-17  |  225 b   |  8 lines

  1. #Include <File.au3>
  2. #Include <Array.au3>
  3. $FileList=_FileListToArray(@DesktopDir)
  4. If (Not IsArray($FileList)) and (@Error=1) Then
  5.     MsgBox (0,"","No Files\Folders Found.")
  6.     Exit
  7. EndIf
  8. _ArrayDisplay($FileList,"$FileList")