Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Why _FileListToArray('NAS DIRECTORY','*.rtf') -- returns 4

$
0
0
[ autoit ]    ( Popup )
;EXAMPLE #1 $f_directory = 'c:\1\' ; local hard drive $a_files = _FileListToArray($f_directory, "*.rtf", 1) ConsoleWrite('@error = ' & @error & @CRLF) ; returns 0 ;EXAMPLE #2 $f_directory = 'K:\1\' ; NetworkAreaStorage $a_files = _FileListToArray($f_directory, "*.rtf", 1) ConsoleWrite('@error = ' & @error & @CRLF) ; returns 4 ;EXAMPLE #3 $f_directory = 'K:\1\' ; NetworkAreaStorage $a_files = _FileListToArray($f_directory, "*rtf", 1) ConsoleWrite('@error = ' & @error & @CRLF) ; returns 0


Why when I seach for NAS  directory with '*.rtf'   EXAMPLE #2 returns 4 ?

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>