Hi,
Can someone advise me as to whether we can use the above %userprofile% or %username% in the Options area for Autocad.
I am trying to set a profile thats uses each users indivdual cuix file.
So for example U:\Users\%username%\AutoCAD\Local.cuix
But it would appear that Autocad cannot read the %username%.
Any hints or ideas most welcome.
Thanks
Gareth
The Support Paths are hard coded, so the path using a ENVIRONMENT_VARIABLE
will be evaluated as text..
Perhaps something like this
(strcat "U:\\Users\\" (getvar 'LOGINNAME) "\\AutoCAD\\Local.cuix");; to get the correct path
and the use "setenv" or "vl-registry-write" to write it to the registry...
HTH
Henrique
Or, if you are like most places with each computer having only one user, take them out of the ...\Users\... folder entirely to remove dependancy on a specific user name.