Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
REQUEST simple ex. of Folder filenames to variables
#10
Macro Macro2663
Code:
Copy      Help
type T37254332 ~path ~name ~keyword
ARRAY(T37254332) a
Dir d
foreach(d "C:\folder\*.txt" FE_Dir)
,T37254332& r=a[]
,r.path=d.FullPath
,r.name=d.FileName
,findrx(r.path "\{(.+?)\}.txt$" 0 1 r.keyword 1)

;results
int i
for i 0 a.len
,T37254332& u=a[i]
,out u.path
,out u.name
,out u.keyword
,


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)