Hi all,
I have a list of text files in a folder that I incorrectly included 'March22' in the title when I meant to include the word 'May22'. I have about 20 files so don't really want to do this manually. Does anyone have an approach I could try in Stata to loop this? I just want to rename a bunch of files with May rather than March in the title and retain the rest of the title.
I'm using Stata 15.
Thanks
Tim
I have a list of text files in a folder that I incorrectly included 'March22' in the title when I meant to include the word 'May22'. I have about 20 files so don't really want to do this manually. Does anyone have an approach I could try in Stata to loop this? I just want to rename a bunch of files with May rather than March in the title and retain the rest of the title.
I'm using Stata 15.
Thanks
Tim

Comment