Who can help me with this tricky lisp coding? I am not an expert, but I hope someone here knows the answer.
I need to adjust the current profile's Support File Search Paths, the 'ACAD' registry entry.
To the bets of my knowledge, I cannot add or delete individual file paths. I need to reset the entire collection of paths. Or can I add, delete or modify specific paths?
Some of the paths are referencing local C drive folders. Some are under 'Program files' (easy), some are under the local user files (Documents and Settings\Application\....) aka the roamble root folder. The profile knows it under this varibale: %RoamableRootFolder%; AutoCAD spits it out as USERPROFILE
How can this path be used in a lisp? My tests did not succeed. I coded it something like this:
(setenv "ACAD" "%RoamableRootFolder%\\Support';C:\\Program Files\\AutoCAD MEP 2008\\Fonts") - of course with more folders
I also tried with the Autodesk variable: %USERPROFILE%\\Application Data\\Autodesk\\Autodesk\\ACD-MEP 2008\\enu\\Support - unsuccessfully.
How can the local user file path be included? I appreciate your help!