Message 1 of 15
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I have this code to locate the Appdata bundle folder location in Windows 7 & 8 for Acad 2012/2014/2015
(setq path (strcat (substr (getvar "ROAMABLEROOTPREFIX") 1( + 8(vl-string-search "Autodesk"(getvar "ROAMABLEROOTPREFIX")))) "\\ApplicationPlugins\\"))
Before this code I was using below code to locate the bundle folder, but it fails in windows XP.
(setq path (strcat "C:\\Users\\"(getvar "LOGINNAME")"\\AppData\\Roaming\\Autodesk\\ApplicationPlugins\\"))
I dont have AutoCAD running on windows XP to check.
If you have AutoCAD 2012 or later version running on Windows XP, can you please check the first code, whether it returns the actual path ?
Also I like to hear any improvements on this code which should work in Windows XP, 7 & 8.
Thanks.
Ajilal.
Solved! Go to Solution.