Hello
I am a new stata user and would like to read multiple dta files in a directory and save them in stata 12 version with the same name but a suffix _stata12 in another directory. The dta files have different variables and sizes, I dont want to append them together, just need to use the saveold command to save them in another folder. Since I have around hundreds of them, I guess there must be a way to write a loop for this purpose.
Can someone help me with this?
Many thanks in advance.
Bente
I am a new stata user and would like to read multiple dta files in a directory and save them in stata 12 version with the same name but a suffix _stata12 in another directory. The dta files have different variables and sizes, I dont want to append them together, just need to use the saveold command to save them in another folder. Since I have around hundreds of them, I guess there must be a way to write a loop for this purpose.
Can someone help me with this?
Many thanks in advance.
Bente
Comment