Retep Posted May 23, 2018 Share Posted May 23, 2018 My AutoIt (v3.3.14.5) script uses _FileListToArray and was working fine under Windows 10. However, with the latest update for Windows 10 (OS Build 17134) my script stops working with _FileListToArray returning "." instead of file or folder names. Is there any known issue with Windows 10 and _FileListToArray? Link to comment Share on other sites More sharing options...
Danp2 Posted May 23, 2018 Share Posted May 23, 2018 No issues that I am aware of. Can you post a short script that we can run that demonstrates the issue? Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted May 23, 2018 Moderators Share Posted May 23, 2018 Agreed, I am working on some scripts for a client now on Windows 10 that rely heavily on _FileListToArray and have notice no issues on the latest version of Windows 10. If you are encountering a specific issue, please post a reproducer so we can assist. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Retep Posted May 24, 2018 Author Share Posted May 24, 2018 I finally found the reason for my problem: When a file name begins with one of the characters "$" or "'" and this file is on a remote computer _FileListToArray just returns "." instead of file names. $FileList = _FileListToArray("\\My-PC\D\Music\Archive\") When the folder "Archive" contains a file "$Alan Parsons Project - Tales of Mystery and Imagination.m3u" then _FileListToArray won't work. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now