Modify

Opened 11 years ago

Closed 10 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 Changed 10 years ago by Jon

  • Milestone set to 3.3.13.1
  • Owner set to Jon
  • Resolution set to Completed
  • Status changed from new to closed

Added by revision [10271] in version: 3.3.13.1

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain Jon.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.