Opening an empty file is sufficient to get Stata to change its working directory