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
generate four categories from two variablesDear all, This is a very annoying problem and the solution is most definitely very simple. I would…
New to this - anova testI am very new to stata so bear with me.. I have conducted an experiment where we measure a hormone i…
Help me Svyset my dataDear All, First off, apologies for the long post. I am having a challenging with how to go about w…
BCTOBIT error type mismatch (109)Hello. I'm trying to run the bctobit module to test for consistency of my tobit model (which was run…
Seeking guidance for the interval specification of rangestat commandDear Stata community, I have stock returns file from CRSP where the date format follows business ca…
Subscribe to:
Post Comments (Atom)
0 Response to Using Stata to delete files from folders
Post a Comment