Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

DIRLIST order

FOR EACH VDIR IN DIRLIST('C:\')

what's the directories sort priority (name, date ...)? and can I choose it?

thanks!

5 Replies
Anil_Babu_Samineni

I am not done this and may be not followed you. Will you check something like this?

For Each vDir In DIRLIST('C:\')

Sample:

Load * From ....;

Concatenate

Load * from .....;

Final:

Load * Resident Sample Order By name, date;

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
passionate
Specialist
Specialist

Hi Luigi,

The load priority while loading is by name in filelist.

Regards,

Pankaj

Not applicable
Author

Hi Anil,

DIRLIST provides an array of string, one for each directory in "c:\" in this example

I was wondering how these string are sorted and if I can change it

Not applicable
Author

Hi Pankaj,

are you saying that both filelist and dirlist sort the array by name?

is there any way I can change this priority by date for example?

thanks

Anil_Babu_Samineni

May be explain/show how your variable looks like?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful