Opened 13 years ago
Closed 12 years ago
#2365 closed Feature Request (Completed)
FileFindNextFile - information in @extended
| Reported by: | Melba23 | Owned by: | Jon |
|---|---|---|---|
| Milestone: | 3.3.13.1 | Component: | AutoIt |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
At present FileFindNextFile sets @extended to 1 if the return is a folder. Could this behaviour be extended to give more attribute information in all cases?
The FindNextFileW call returns the current attributes in the FileAttributes part of the structure - BitAnd could then extract the the standard values as set out in http://msdn.microsoft.com/en-us/library/windows/desktop/gg258117(v=vs.85).aspx.
I realise this would be script-breaking in that it would require a BitAND(@extended) rather then a simple If @extended to detect folders, but in my opinion the advantage of not having to use a subsequent FileGetAttrib command on the returned file/folder outweigh that.
M23
Attachments (0)
Change History (1)
comment:1 by , 12 years ago
| Milestone: | → 3.3.13.1 |
|---|---|
| Owner: | set to |
| Resolution: | → Completed |
| Status: | new → closed |

Added by revision [10271] in version: 3.3.13.1