본문 바로가기
autocad

Using path with Space Blank in lisp

by kmlab 2025. 5. 16.

https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-with-space-in-filename/td-p/6909013

 

script with space in filename

I cannot seem to figure out what to add in this script in order for it to open up the master blocks folder (See attachment). The issue is the space in the filename. I've tried adding quotes around "master blocks", double slashes, quotes before the I: and a

forums.autodesk.com

(startapp "explorer" "\"V:\\01. General\\01. BP\\01. 설계\\01 AR, ST\\03. 정림\\[02] 실시설계\\01. CUB\\01. 건축\\A95_WALL OPENING\"")

 

(startapp
"\"C:\\Windows\\explorer.exe\""
"\"I:\\rollout\\master blocks\""
)

(
(setq ph (getvar "dwgprefix"))
(startapp (strcat "explorer " " \"" ph))
) ;; ok ok ok

(STARTAPP (strcat "EXPLORER /e, " "\"" (getvar "dwgprefix")))

 

반응형

'autocad' 카테고리의 다른 글

OSNAP mode  (0) 2025.05.20
Get Coordinates for the screen display  (0) 2025.05.19
Create Layer by Lisp  (0) 2025.05.09
(startapp "explorer /e, c:\\temp\\")  (0) 2025.05.09
Auto creating Room Areas  (4) 2025.05.08