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
Related Posts with File not found error
SAS date to Statahi, i am working with a SAS data set and birthday variable reads as , list BIRTHY in 1/10 +------…
Problem with random-effects GLS regression and dummy variablesDear reader, I am a business student currently writing a thesis about the impact of global cities (…
Conditional Risk Using STPM2Dear All, I would like to predict a conditonal risk for a recurrence at 6 months after having had n…
Getting same estimates for Fixed Effects and Random Effects but not for pooled OLSI estimated pooled OLS, Fixed Effect, and Random Effect Model using Grunfeld's investment data. The …
Looking to add ifxed effects for a model but unsure how to go about it.Hi, I am doing a project where I am looking at state incarceration rates for the year 2016. I am loo…
Subscribe to:
Post Comments (Atom)
0 Response to File not found error
Post a Comment