4 Replies Latest reply: Dec 12, 2014 11:41 AM by Antonio Caria RSS

    Weird issue with filelist function + wildcard + CSV files

      Hi !

      I am using the filelist() function along with a "for each" in order to load several CSV files. I am using QV 11.20.

      This particular piece of code :

       

      For each vFile in FileList('.\*.csv')
      trace file : $(vFile);
      sleep 2000;
      Next vFile
      

       

      leads to load *.csv file which is the expected behavior, but it also loads *.csv*. It means it loads also *.csv_old for example.

       

      I tried also with xlsx files, but it behaves correctly in that case. This seems specific to CSV files.

       

      Is there any mean to disable this strange behavior ?

       

      Thanks,

       

      Laurent