Need help on how to control the following directory:
C:\Users\byim\Documents\OneDrive
Since BYIM is changing depending on who logs on to the OneDrive, it is difficult set up Microstation msconfig.cfg and PCF files so that these will always work regardless who logs on.
Thanks!
One drive creates an environment variable that points to the one drive location. MicroStation inherits the environment variables as configuration variables.
$(OneDrive) should point to the path and update for each user. (Double check the variable name, it may be different for onedrive for business.
Alternately $(UserProfile) points to the c:\Users\USERNAME path so: $(UserProfile)/Documents/OneDrive should get it too,
Answer Verified By: Boney Yim
So, instead of what we have currently,
_USTN_PROJECT = C:/Users/VYim/OneDrive/4-Reference/5-CADD Standards/Workspaces/Projects/
OR
_USTN_USER = C:/Users/VYim/OneDrive/4-Reference/5-CADD Standards/Workspaces/Users/
We should, do the following:
#_USTN_PROJECT : $(UserProfile)/Documents/OneDrive/4-Reference/5-CADD Standards/Workspaces/Projects/
#_USTN_USER : $(UserProfile)/Documents/OneDrive/4-Reference/5-CADD Standards/Workspaces/Users/
in the config and PCF files?
Thanks for quick response.
_USTN_USER = $(UserProfile)/OneDrive/4-Reference/5-CADD/Standards/Workspaces/Users/
if your path doesn't have OneDrive in the Documents folder, use above
Thanks for quick response. Will try.
Kevin van Haaren said:it may be different for onedrive for business.
For OneDrive Business its $(OneDriveCommercial)
~HTH
John.
yep