Hi,
I am running stata on both mac (on my personal computer and on windows- office computer). Every time i run the code, i need to change the file paths. I was wondering whether there is a simple step that I could define at the beginning without changing the file paths.
for example: I run on the main directory (main folder) and I have subfolders (globals) for graphs, regressions, dofiles, and datasets. In my code, I refer to these folders from the main directory. for example save $statadata\dataset.dta. etc. Since the path uses backslashes in mac is there a way around so that i don't need to change these?
Many Thanks
Danula
I am running stata on both mac (on my personal computer and on windows- office computer). Every time i run the code, i need to change the file paths. I was wondering whether there is a simple step that I could define at the beginning without changing the file paths.
for example: I run on the main directory (main folder) and I have subfolders (globals) for graphs, regressions, dofiles, and datasets. In my code, I refer to these folders from the main directory. for example save $statadata\dataset.dta. etc. Since the path uses backslashes in mac is there a way around so that i don't need to change these?
Many Thanks
Danula
Comment