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 "*"
Need help on predicting a value of dependent variableHi, I've recently started learning statistics. On stata, how can I get the predicted value of a depe…
Maximizing Sharpe Ratio - Portfolio optimizationHi, I would like to maximize the Sharpe ratio (=Historical Return (portfolio)/Standard deviation(po…
Suppress input prompt for pauseFantastic people of Statalist, I am running a batch of do files that contain -pause- commands and w…
Appending files in folderDear all, I am struggling for appending files in a folder. Now I have multiple datasets such as ho…
returnsyh command donwloads historical data for any ticker with historical data in Yahoo - ErrorHi, I am getting the following error with returnsyh command donwloads historical data for any ticke…
Subscribe to:
Post Comments (Atom)
0 Response to problema with local extended_fcn local list : dir . files "*"
Post a Comment