Originally posted by Vivek Gupta
View Post
An easy workaround with limitations for this (if the paths are know) is to create a local for each user and use capture when loading data. I combine this with the local c(username) when I have different usernames for different PCs I am working on, but the folder structure is the same. For example, say two researchers work on the same do file which uses contents from a specified ado file and one of the researchers works on different machines with the same folder structure (like a shared folder like dropbox etc.). Then this works well:
Code:
local path1 "C:\Users\\`c(username)'\Dropbox\My Resarch Folder\" local path2 "C:\Research2\Random Research Folder\Subfolder Shared\" cap adopath + "`path1'\ado" cap adopath + "`path2'\ado" cap cd "`path1'" cap cd "`path2'"
Originally posted by Vivek Gupta
View Post
Leave a comment: