Hello everyone.
this is my first post in Statalist, so please forgive any mistake on it.
I'm trying to capture the filenames of several files in any given directory using:
local filename : dir . files "*"
This actually works and it creates a local named `filename' containing the names of every file in the directory. The problem is that it does not separates the filenames from eachother, so I get a string: fosis.xlsxjunaeb.xlsxmatriz2019.xlsxmineduc.xlsxse nama.xlsxsename.xlsxsence.xlsxsernameg.xlsxssmds.x lsxsstrabajo.xlsx (names are arbitrary)
Thus, I am unable to work with each file separatedly as I would like. Does anyone knows how to solve this?
I appreciate your answers.
Related Posts with problema with local extended_fcn local list : dir . files "*"
Regression gives different results depending on the order of the independent variablesI am running what is essentially a difference in differences regression on a large dataset with a lo…
tobit regression with collinearityHi i am running a tobit regresison for data across 2 years 2007-2008: My variables include 10 log pr…
Create categorical variable*hi! new to stata/in a stats class... i have a dataset that has individual race dummy variables. Is t…
no observations error event studyDear Stata community, I'm trying to run a loop to generate the normal returns for my event study, h…
Logic for using matched sample versus unmatched sampleHi all, I am stuck on a problem of when to use a matched versus unmatched sample. I have a list of …
Subscribe to:
Post Comments (Atom)
0 Response to problema with local extended_fcn local list : dir . files "*"
Post a Comment