Hi, we use Stata and Dropbox to collaborate.
Problem: In our do-files, we always have to adjust the Working Direcotry to our local computers.
cd "C:\Users\User1\Dropbox\data.dta"
cd "C:\Users\User2\Dropbox\data.dta"
cd "C:\Users\User3\Dropbox\data.dta"
For Mac it is possibe to just write
cd "~\Dropbox\data.dta"
and you are fine on all computers.
On PCs, however, it doesn't work. It says "unable to change to ~/Dropbox/".
Do you have a way to use kind of directory logic on Macs on PCs as well?
Thanks,
Fabian
Problem: In our do-files, we always have to adjust the Working Direcotry to our local computers.
cd "C:\Users\User1\Dropbox\data.dta"
cd "C:\Users\User2\Dropbox\data.dta"
cd "C:\Users\User3\Dropbox\data.dta"
For Mac it is possibe to just write
cd "~\Dropbox\data.dta"
and you are fine on all computers.
On PCs, however, it doesn't work. It says "unable to change to ~/Dropbox/".
Do you have a way to use kind of directory logic on Macs on PCs as well?
Thanks,
Fabian
Comment