Dear Form users,
I have found a few threads on the topic but nothing that I could get to work.
I am working with remote data that requires the use of global macros for the directory. I submit my .do files and they send the .log files back to me. I have recreated the directories on my home computer with test data and am trying to replicate the global macros so I can test my code before submitting it remotely.
For example, all my .do files are stored in a folder that must be named "prog" and is called up using the following:
The challenge is that I have spaces in the directories in my home computer. For example, I would try to use:
I have tried a few combinations of single and double quotes to no avail. How can I get these globals to work properly? Is there a workaround for the spaces in my file structure? Using globals for directories in this manner is my only option due to the data agency's rules.
Thanks as always for your suggestions. I have been wrestling with this for longer than I care to admit!
I have found a few threads on the topic but nothing that I could get to work.
I am working with remote data that requires the use of global macros for the directory. I submit my .do files and they send the .log files back to me. I have recreated the directories on my home computer with test data and am trying to replicate the global macros so I can test my code before submitting it remotely.
For example, all my .do files are stored in a folder that must be named "prog" and is called up using the following:
Code:
do $prog/example01.do
Code:
global prog "C:\Users\default\Dropbox\Documents\Project Name\Data Structure\prog"
Thanks as always for your suggestions. I have been wrestling with this for longer than I care to admit!
Comment