Hello,
I am using a loop to import multiple dataset with different extensions and append them. The problem is that some of these files have invalid characters in their names (blanks, $ etc.).
I am wondering if there is a way to overcome this, without:
-affecting the original filename (so no !ren fileold filenew)
-having to create a duplicate of the original file and doing the above
-resorting to Python
I know this might be easier this Python (or, at least, I only know how to do it with Python), but I would love to prove that Stata can make it.
Kind Regards,
G.
I am using a loop to import multiple dataset with different extensions and append them. The problem is that some of these files have invalid characters in their names (blanks, $ etc.).
I am wondering if there is a way to overcome this, without:
-affecting the original filename (so no !ren fileold filenew)
-having to create a duplicate of the original file and doing the above
-resorting to Python
I know this might be easier this Python (or, at least, I only know how to do it with Python), but I would love to prove that Stata can make it.
Kind Regards,
G.
Comment