09-10-2015, 11:30 AM
There are two sets of Windows API filesystem functions - kernel and shell.
run uses shell functions.
FE_Dir uses kernel functions.
Only shell functions support itemidlists, as well as non-file objects.
There are shell API functions to enumerate files and non-file shell objects. QM does not have an easy wrapper function for it.
Example: Enumerate recycle bin items
In the example, replace the SHGetSpecialFolderLocation line to PidlFromStr:
Macro Macro2693
run uses shell functions.
FE_Dir uses kernel functions.
Only shell functions support itemidlists, as well as non-file objects.
There are shell API functions to enumerate files and non-file shell objects. QM does not have an easy wrapper function for it.
Example: Enumerate recycle bin items
In the example, replace the SHGetSpecialFolderLocation line to PidlFromStr:
Macro Macro2693
