Thank you very much man. Well, it would be better if i don't have to edit the script depending on on its location. Meaning the script or the lsp should locate itself. When we drag the lsp file to autocad there appears something like "(load "c:/bla/bla/bla)". For script: _script <>:c:/bla/bla. How can i get the paths displayed. I used to try (getvar "lastprompt") but I'm having trouble if the path is too long. Thanks any way...>