Hi,

I am currently using Mac OS X stata, and I have some problems setting the main directory.

I am sharing the do files with my team and all the others use PC.

The global directory command is:

else if "`c(username)'"=="eddie"{
global maindir1 "/Users/Eddie/Desktop/Project/Data"
global maindir2 "/Users/Eddie/Desktop/Project/Data"


and later on I would like to use the data from this directory:

capture use "$maindir1/__.dta",clear

I have the problem using the main directory.

Thank you for the help!