Attaullah Shah
Moderator
Post count: 70

Wa Alaikum Assalam
Dear Suhail Sayed
Thanks for your appreciation and kind words. You can change the file name using the save() option. So, you want to save the results in a word file name Summary Statistics, an example would be

asdocx sum, save(Summary Statistics.docx)

or in an excel file,

asdocx sum, save(Summary Statistics.xlsx)

You can also specify folder, say paper1. (If the folder does not exist, asdocx will create it. Also, if you specify several nested folders, asdocx checks each one of them and create them if they do not exist)

mkdir paper1
asdocx sum, save(paper1/summary statistics.docx) replace