Hi stata users,
I am using stata 15, I want to set a data path to use and save all data in do files in one folder.
I tried these codes:
But stata could not open the data, and instead gave me this error message:
Does anyone know how to fix that?
link in stackoverflow: https://stackoverflow.com/questions/...-in-one-folder
Thanks!!
I am using stata 15, I want to set a data path to use and save all data in do files in one folder.
I tried these codes:
Code:
/* set data directoty */ local dapath "Z:\Table1_charc_regions_120817\cleandata" /* change work directory */ cd `dapath' use "`dapath'\zip_pop.dta", clear
HTML Code:
file \zip_pop.dta not found
link in stackoverflow: https://stackoverflow.com/questions/...-in-one-folder
Thanks!!

Comment