Opened 14 years ago

Closed 14 years ago

#1073 closed Bug (Works For Me)

_FileListToArray on *.lnk files

Reported by: michael.klinteberg@… Owned by: Gary
Milestone: Component: Standard UDFs
Version: Severity: None
Keywords: Cc:


_FileListToArray return *.lnk files as folders if the link point to a folder. Should not this be threated as a file?

The file.au3 version is 33.0

#include <file.au3>
#include <array.au3>
Local $s = "C:\Users\Default\AppData\Local\"
local $a
; _FileListToArray also return *.lnk files as folders
$a = _FileListToArray($s,"*",2)
_ArrayDisplay($a,"Dirs found")

$a = _FileListToArray($s,"*",1)
_ArrayDisplay($a,"Files found")

Attachments (0)

Change History (3)

comment:1 follow-up: Changed 14 years ago by anonymous

_FileFindNextFile in returns these files properly.

comment:2 in reply to: ↑ 1 Changed 14 years ago by anonymous

Replying to anonymous:

_FileFindNextFile in returns these files properly.

I guess this might be an error though, in FileGetAttrib()...

comment:3 Changed 14 years ago by Gary

  • Resolution set to Works For Me
  • Status changed from new to closed

Works for me on XP Pro SP3 in both Release and beta.

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

as closed The owner will remain Gary.

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

Note: See TracTickets for help on using tickets.