Message 1 of 6
getenv\setenv truncation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am using a getenv \ setenv function in my acad.lsp file to append an additional support file search path. as follows:
(setenv "ACAD" (strcat "C:\\Civil3D\\Support Files;" (getenv "ACAD")))
The problem is that the response is being truncated and only about 1/4 of the existing entries are being lost. It is either the length of the strig that is an issue or I also read somewhere that full stops can be a problem?
Our Support File Search Path list is long because of 3rd party programs - most of which use .bundle structures which always seem to result in additions to the list.
Is there better lisp code to achieve this? Can I just append instead of re-writing the string?