Hi All,
I am now trying to use multiple file names into data.

clear
global f "D:\data_science\myr\raw\image"
*ssc install fs

local jpg : dir "$f" files "*.jpg"
di `jpg'

foreach name in `jpg' {

input x
`name'
end
}

When I do these codes, I got the error

. foreach name in `jpg' {
2.
. input x
3. `name'
4. end
--Break--
r(1);