10-09-2013, 01:27 PM
Hey there I have this simple code that I can't put the wildcard charters to work for the life of me.
Can someone please help?
Function teste3
The name of the ".txt" files have the date in between other information and I want to get those with only the specific date.
Thanks a buch!
Can someone please help?
Function teste3
,ARRAY(str) a s;
,int i; str data
,data="2013-10-09"
,GetFilesInFolder a F"S:\(...)\TNE\*{data}*" "" 0
,a.sort(1)
,s.create(a.len)
,for i 0 a.len
,,str sPath=a[i]
,,s[i].getfile(sPath)
,,out F"{sPath}[]{s[i]}[]"
The name of the ".txt" files have the date in between other information and I want to get those with only the specific date.
Thanks a buch!