Skip to content
⌘ NSIS Forum Archive

file sorting

3 posts

Yathosho#

file sorting

afaik there are two common ways to read files from a directory

1. file "directory\*.bla"

2. using DirRequest and a loop to read every single file from that

i was wondering in what order (name, date etc.) this works and if there is a way to manipulate this (feature in future builds). in some cases it could be helpful to force NSIS to read files in alphabetical order.
kichik#
NSIS just uses Windows API calls and thus this is up to Windows. I don't see a reason why NSIS should sort this list of files... Why would you want that?