Hello,
I have entered the following code:
global date 0702
global path "C:\Users\[username]\Desktop\[folder]"
global raw "$path\Data.dta"
global programs "$path\Do.do"
global output "$path\Sheet1.xlsx"
clear
set more off
set segmentsize 3g
No problem until now. But, when I enter
cd $output
I get the message
invalid syntax
r(198);
I'm confused about where the problem lies and how I can fix it.
Thanks for your help!
I have entered the following code:
global date 0702
global path "C:\Users\[username]\Desktop\[folder]"
global raw "$path\Data.dta"
global programs "$path\Do.do"
global output "$path\Sheet1.xlsx"
clear
set more off
set segmentsize 3g
No problem until now. But, when I enter
cd $output
I get the message
invalid syntax
r(198);
I'm confused about where the problem lies and how I can fix it.
Thanks for your help!
Comment