Hi,
I work on both a PC and a Mac, one at home and one at work, and use dropbox to sync my files. I am having trouble finding an easy to run stata do files from both locations, because the file names seem to be handled differently in mac vs. pc. I've read previous posts about changing the directory to dropbox, but I continue to have issues with the actual name of the file, mostly because the slashes are different (\ vs /). For example, here is the command to use a file in my pc from dropbox:
use "C:\Users\claybav\Box Sync\Consult Study\Analysis Files\master.dta"
and here is the command to use the same file in my mac:
use "/Users/claybavinger/Box Sync/Consult Study/Analysis Files/master.dta"
Is there anyway to easily have the computers call these files the same name, so that I can run .do files from pc and mac?
Thanks very much!
Clay Bavinger
University of Michigan
I work on both a PC and a Mac, one at home and one at work, and use dropbox to sync my files. I am having trouble finding an easy to run stata do files from both locations, because the file names seem to be handled differently in mac vs. pc. I've read previous posts about changing the directory to dropbox, but I continue to have issues with the actual name of the file, mostly because the slashes are different (\ vs /). For example, here is the command to use a file in my pc from dropbox:
use "C:\Users\claybav\Box Sync\Consult Study\Analysis Files\master.dta"
and here is the command to use the same file in my mac:
use "/Users/claybavinger/Box Sync/Consult Study/Analysis Files/master.dta"
Is there anyway to easily have the computers call these files the same name, so that I can run .do files from pc and mac?
Thanks very much!
Clay Bavinger
University of Michigan
Comment