Dear Stata listers,
I am pretty sure this will brand me as a complete lightweight, but I guess my threshold for shame is very high
I have a problem with global macros. This has been caused by a recent update to dropbox (all my data resides there) when the folder was renamed "Dropbox (Personal)" (with a space) from simply "Dropbox".
In my profile.do, I had the following:
global F7 B:/Dropbox/
and I had countless statements of the following kind in my do files:
use ${F7}CGAF4/CGAF_2007_012.dta, clear
On my office computer, the drive that has all my data is D:, so my profile.do would read:
global F7 D:/Dropbox/
Everything was well in the world.
Now dropbox has decided to rename my folder "Dropbox (Personal)" with a space (gasp.) I am furious about this, but I cannot get them to change it back.
I have tried to trick my profile.do with this:
global F7 `"'B:/Dropbox (Personal)/
and then, in my do file:
use ${F7}CGAF4/CGAF_2007_012.dta", clear
(note the quote before the comma). But that does not seem to work.
Can you think of a workaround?
Regards
Pierre
I am pretty sure this will brand me as a complete lightweight, but I guess my threshold for shame is very high
I have a problem with global macros. This has been caused by a recent update to dropbox (all my data resides there) when the folder was renamed "Dropbox (Personal)" (with a space) from simply "Dropbox".
In my profile.do, I had the following:
global F7 B:/Dropbox/
and I had countless statements of the following kind in my do files:
use ${F7}CGAF4/CGAF_2007_012.dta, clear
On my office computer, the drive that has all my data is D:, so my profile.do would read:
global F7 D:/Dropbox/
Everything was well in the world.
Now dropbox has decided to rename my folder "Dropbox (Personal)" with a space (gasp.) I am furious about this, but I cannot get them to change it back.
I have tried to trick my profile.do with this:
global F7 `"'B:/Dropbox (Personal)/
and then, in my do file:
use ${F7}CGAF4/CGAF_2007_012.dta", clear
(note the quote before the comma). But that does not seem to work.
Can you think of a workaround?
Regards
Pierre
Comment