Dear All,
This may come as an odd request however, I am trying to understand whether the following can be addressed using Stata. I will try to be as descriptive as possible.
I do not have data for this as I am trying to understand a general concept of going about this.
Suppose I have a CSV file that contains a variable called ID (string) and is unique on it. This CSV file contains list of all those ID's whose documents (contain ID number in document name) can be stored in either Folder 1 or Folder 2. Both these folders are stored in Folder 0.
I would like to see whether I can write a code that picks each ID from the CSV, looks for that persons file in either of the 2 folders, and if found, deletes it from the directory. After it is done deleting, it displays all those ID's that were removed from the folder.
Related Posts with Using Stata to delete files from folders
S.E. in xtreg and aregDear friends, I'm estimating a fixed effects model with an unbalanced panel data using both areg an…
Stratified Sampling into Equal Groups using Proportional Allocation with Odd and Even Observations in StratumHello, I have a dataset with 60 clusters that can be divided into 14 stratum. I would like to random…
Dichotomous Independent variableHi I am working on the following data set and in order to determine my model, I have TOTALINVESTMEN…
OT: Second-generation p-valuesThis post is not about Stata per se, hence the OT (for off-topic) in the subject line. I just notice…
teffects nnmatch with no exact matchesHello everyone, I am trying to perform a nearest-neighbor matching in Stata by using the teffects c…
Subscribe to:
Post Comments (Atom)
0 Response to Using Stata to delete files from folders
Post a Comment