I am using Stata/SE 15.1 for Mac. I am using a global to specify my path at the beginning of my do file. I write it like this:
Code:
global path "/Users/felix/Dropbox/Felix/F&Vs PHD/EINITE/Aggregation/Paper/Aggregation_21082019/"
Code:
global path "/Users/felix /Dropbox /Felix/F&Vs PHD / EINITE/ Aggregation/Paper/Aggregation_21082019"
I specify my command like this:
Code:
import excel "$path/TOTAL WITH PROPERTYLESS/Germany_total_1400.xlsx", firstrow
Code:
file /Users/felix /Dropbox /Felix/F&Vs PHD / EINITE/ Aggregation/Paper/Aggregation_21082019/TOTAL WITH PROPERTYLESS/Germany_total_1400.xlsx
Many thanks in advance for your help.
0 Response to STATA seems to add spaces into path where there are none although using double quotes
Post a Comment