Problem in opening newLisp script with a double-clic
Posted: Wed Apr 19, 2006 12:53 pm
Why can I not launch (with newLisp-tk) a newlisp script by a single double-clic on the file icon ?
When I try this, the result is an error message such as : "problem accessing file in function load"
e.g.:
I put a copy of the file "Demo.lsp" in a directory C:\newlisp and I get the following message : problem accessing file in function load : "C:\newlispDemo.lsp".
(same effect with another or the original directory).
However, if the directory is the root (i.e.: C:\Demo.lsp) I can open the file with a double-clic on it.
NB : if I try to open a script with newlisp.exe (without -tk) in this way, there is no problem.
[newLISP v.8.8.5 on WinXP-SP1 Home Edition]
thank you in advance for your help
When I try this, the result is an error message such as : "problem accessing file in function load"
e.g.:
I put a copy of the file "Demo.lsp" in a directory C:\newlisp and I get the following message : problem accessing file in function load : "C:\newlispDemo.lsp".
(same effect with another or the original directory).
However, if the directory is the root (i.e.: C:\Demo.lsp) I can open the file with a double-clic on it.
NB : if I try to open a script with newlisp.exe (without -tk) in this way, there is no problem.
[newLISP v.8.8.5 on WinXP-SP1 Home Edition]
thank you in advance for your help