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 "*"
Alternative-Specific Mixed Logit ModelHello, I want to specify a mixed logit model for the decision that migrants take to migrate from t…
Request for helpIs there anyone who can help me create a loop from this: set more off clear all foreach x of numlis…
event studyHi to everyone! I am writing an article with use of event study. Unfortunately I am new to Stata an…
Constant term in pvarDear all, I'm estimating a panel vector autoregression model in Stata using the package pvar, and I…
mvreg - post estimationI am using the mvreg command as I have a multivariate regression (3 independent variables regressed …
Subscribe to:
Post Comments (Atom)
0 Response to problema with local extended_fcn local list : dir . files "*"
Post a Comment