btw
the backlash is no backslash, it is a foreslash 😉
if you want to use backslash in lisp, you have to double them
"c:\\test\\myfile.txt"
is equal to
"c:/test/myfile.txt"
spittman@jjkllc.com wrote:
> Thanks. Now I'm getting the following error message. ; error: malformed
> string on input Here are the first 2 lines of the MakeLayerFilters.lsp
> ----------------------------- (defun GatherFilter (/ FP FL FILENAME) ;;
> swap next two lines if absolute location is desired. (setq FP (open
> "C:/PROGRAM FILES/AUTOCAD 2007/SUPPORT/FILTERS.TXT" "r") ; <- OPTION 1,
> CHANGE PATH AND TXT FILE TO YOUR LIKEING! ;; (setq FP (open
> "FILTERS.TXT" "r") ; <- OPTION 2, CHANGE TXT FILE, USE WITH SUPPORT
> SEARCH PATHS! FL nil FL2 nil) -------------------------------- I see
> that the backslash is going the opposite way in the lsp file than than
> in the url bar at the top of the screen. This may not be an issue.
> Thanks for the help.