I created in Stata a list of all files in a folder with the following:
global file_all : dir "$outputsFolder" files "*.dta"
However, I want to remove two files from this list. I wish to create another list of files so that I can remove all the files in this new list from the file_all. I had try the following, but with no success:
global file_remove: `"${outputsFolder}\dataset1.dta"' `"${outputsFolder}\dataset2.dta"'
And I also don't know how to create the set difference between those two lists.