Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Excel Exe File

1 REPLY 1
Reply
Message 1 of 2
kulfi
346 Views, 1 Reply

Excel Exe File

First of all i want to search excel.exe file of c or d than i want to open how it is possible in Lisp.

thanks

Kulfi
Electronics Engineer

Pind Saudi Arabia



1 REPLY 1
Message 2 of 2
Lee_Mac
in reply to: kulfi

Try the following:

 

(defun open-xl-exe ( / xls )
    (if
        (and
            (setq xls (vl-registry-read "HKEY_CLASSES_ROOT\\.xls"))
            (setq xls (vl-registry-read (strcat "HKEY_CLASSES_ROOT\\" xls "\\shell\\new\\command")))
        )
        (startapp xls)
    )
    (princ)
)

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost