Quantitative Analysis in STATA - Part 6, Log File and Do File in Stata
Tutorial on Quantitative Analysis in STATA - Part 6 from where you can learn how to create "Log File" and "Do File" for saving all the commands in Stata and executing all the commands at a time in Stata