Re: [問題] AutoLisp可以呼叫外部程式嗎
※ 引述《cynthmis (pika)》之銘言:
: 如標題所示
: 在lisp裡有辦法呼叫外部程式嗎?
: 例如我在lisp執行到一個段落後
: 想要開啟一個檔案、或是執行exe、bat等等的執行檔..謝謝
應該可以,用start或startapp指令
讀exe檔等等我不知道是不是也可以(但至少要讓系統找的到檔案位置)
下面列舉一些
(command "start" "excel") ;開excel
(command "start" "notepad") ;開notepad
(command "start" "powerpnt") ;開powerpoint
(startapp "cmd") ;dos視窗顯示 windows版本與cad工作路徑
(startapp "explorer") ;出現檔案總管,我的文件之類的資料夾
(startapp "control") ;控制台
(startapp "winmine") ;踩地雷
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.230.30.199
※ 編輯: Egriawei 來自: 61.230.30.199 (05/10 23:12)
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 4 之 4 篇):
Cad_Cae 近期熱門文章
PTT數位生活區 即時熱門文章