I have a main script file called mainproject.do and within it is do call for another script called analysis1.do. This analysis1.do file is in a folder which also has data files that the analysis1.do uses. But now every time I run my main script file, its cant access the data files when the analysis1.do runs, and shows that the working directory is that of mainproject.do directory rather than analysis.do. How do I resolve this so that everytime a nested .do file is called, the working directory becomes of the nested .do file.
-
Login or Register
- Log in with
Comment