I have the following code:
$s = AskText("Enter file name", "New file.txt", 0);
Log(0, 10, GetSourcePath() + $s);
Log(0, 10, _findfirstfile(GetSourcePath() + $s));
When i pass exact file name fo _FindFirstFile function, it finds nothing. But when i pass file mask, it finds that file:
012-05-14 15:46:21.192 D:\1\New file 1.txt
2012-05-14 15:46:21.192 Script engine - _FindFirstFile : 'D:\1\' - 'New file 1.txt'
2012-05-14 15:46:21.192 Script engine - _FindFirstFile found nothing
2012-05-14 15:46:21.192
2012-05-14 15:46:32.052 D:\1\*.txt
2012-05-14 15:46:32.052 Script engine - _FindFirstFile : 'D:\1\' - '*.txt'
2012-05-14 15:46:32.052 Script engine - Match found _FindFirstFile found : 'D:\1\New file 1.txt'
2012-05-14 15:46:32.052 D:\1\New file 1.txt
Is it a bug?
--
P.S. Where can i find list of the internal commands like _FindFirstFile? I haven't found it in online documentation. Maybe i've overlooked?