Hello,
I'm trying to append all the files in a folder together, and have the following code:
clear
local fnames: dir "$path\Data Input\Stata Sets" files "*.dta"
foreach file of local fnames {
append using "`file'", force
}
Unfortunately I keep getting an error that says r(601): Cannot find (filename) of the first filename in the folder. It was previously working, but has stopped working in the last couple times I've tried to run it.
Thanks, any help would be appreciated.
0 Response to Appending Assistance
Post a Comment