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
UPDATES error_3499: coefficient table function not foundHello, I am using Stata 16.1 and encountered the following error message when running even simple r…
from stata to latex descriptive stat and ttestHi everyone! I'm working on same descriptive statistics and ttest tables on Stata and I want to exp…
Regression with only the last 80 linesHello, i´m not sure if it possible or how i programm it. Here is my problem: The dataset includes 20…
TtestDear all, I hope you are all doing great. I am trying to calculate the ttest of x (total dollar's …
Adding group name to categorical variables in esttab commandHi, I am trying to add a heading for each categorical variable in my regression. This is the code I …
Subscribe to:
Post Comments (Atom)
0 Response to File not found error
Post a Comment