Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GetFilesInFolder - exclude subfolders
#16
Dear Gintaras,

I am in need of your advice regarding a possible mistake I commit in the following case :

Quote:GetFilesInFolder3 a folder "" 4|0x40000 2 exclude

where

Quote:str exclude=
.tmp
.temp
.chk
.pls
.mpg
.flv
~~back*
.log

The problem :
The file with filename :
Quote:[syllogos_dep_emp] Ekthesi_f-Nikos_160916.eml

is excluded, although its extension among these in string "exclude", but it contains string "log" in its filename.

Is it likely that I should use \.tmp$ to discriminate between dot as part of an rx against dot between filename and extension?

Many thanks in advance.


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)