Trying to return the number of .txt file in the given directory - where am I going wrong ?
#include <File.au3>
#include <Array.au3>
$filefolder = 'D:\Input'
$fileextension = '*.txt'
$FileList = _FileListToArray($filefolder, $fileextension);only list files with given extension
MsgBox(0, "number of file is:", $array[0])