Message 1 of 19
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, chaps.
I have the code,
(strcat "C:\\Users\\" (getvar "USERNAME") "\\blue\\...")
in my acad.lsp but it gives the error,
Regenerating model.
; error: bad argument type: (or stringp symbolp): (STRCAT "C:\\Users\\" (GETVAR "USERNAME") "\\blue\\...")
AutoCAD menu utilities loaded.
at startup.
Anybody know why? (I also tried using (getenv) but got the same (or stringp symbolp) error.)
Solved! Go to Solution.