Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
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;

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
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?

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)