Hi,
Maybe I was not clear enough.
My problem is not how to deal with dirlist or dirplus but the fact that using the dir command is ruining the array I use in the same script.

May someone please run this script and find if they have the same error I have commented here ?