重新定義外部參考、影像、造型、型式和遠端文字 (RTEXT) 中的硬編碼路徑。
指令:REDIR
目前的 REDIRMODE:型式、外部參考、影像、遠端文字
尋找和取代目錄名稱
鍵入舊目錄 (一律使用 '*'),或者?<選項>:指定要取代的資料夾,或按 Enter 取得選項 (請參閱 REDIRMODE 的選項描述)
將 "*" 使用下列方式取代:指定新的資料夾,或按 Enter 指定空字串 (請參閱以下秘訣)。
範例 1 :列示目前路徑關聯,然後變更
Command: REDIR Current REDIRMODE: Styles,Xrefs,Images,Rtext Find and replace directory names Enter old directory (use '*' for all), or ? <options>: Enter ? File references to list <*>: Press Enter TYPE NAME FILE ---------------------------------------------------------------------------------------------------------- STYLE STANDARD TXT STYLE TTF ARIAL.TTF STYLE XREFA|STANDARD TXT STYLE XREFA|TTF ARIAL.TTF SHAPE I:\WORK\TEST\ES.SHX XREF XREFA I:\WORK\TEST\XREFA.DWG IMAGE THATCH I:\work\TEST\brick2.bmp IMAGE XREFA|THATCH THATCH RTEXT I:\work\TEST\57072_b.txt Enter old directory (use '*' for all), or ? <options>: I:\WORK\TEST\ Replace "I:\WORK\TEST\" with: K:\TEST Searching for old dir: I:\WORK\TEST in order to replace it with: K:\TEST XREF XREFA I:\WORK\TEST\XREFA.DWG -> K:\TEST\XREFA.DWG SHAPE I:\WORK\TEST\ES.SHX -> K:\TEST\ES.SHX IMAGE THATCH I:\WORK\TEST\BRICK2.BMP -> K:\TEST\BRICK2.BMP RTEXT I:\work\TEST\57072_b.txt -> K:\TEST\57072_B.TXT 1 style/shape records modified. 1 image references modified. 1 xrefs modified. 1 rtext objects modified. Changes to some externally referenced objects may be temporary.
範例 2 : 清除所有硬編碼路徑
Command: REDIR Current REDIRMODE: Styles,Xrefs,Images,Rtext Find and replace directory names Enter old directory (use '*' for all), or ? <options>: Enter * Replace "*" with: Press Enter Searching for old dir: * in order to replace it with: XREF XREFA K:\TEST\XREFA.DWG -> XREFA.DWG SHAPE K:\TEST\ES.SHX -> ES.SHX IMAGE THATCH K:\TEST\BRICK2.BMP -> BRICK2.BMP RTEXT K:\TEST\57072_B.TXT -> 57072_B.TXT 1 style/shape records modified. 1 image references modified. 1 xrefs modified. 1 rtext objects modified. Changes to some externally referenced objects may be temporary.
redir.lsp