I'm trying to importing several files from a folder using this code:
cd "\\xyz"

local aaa: dir . files "*.csv"

foreach file of local aaa{
preserve
insheet using `"`file'"'
save temp, replace
restore
append using temp, force
}

I get af "fil not found" error?

But when import separately using this code there is no error:
import delimited "\\xyz\filname.csv"

What could the problem be?

Kind regards
Torben