Ridefinisce i percorsi hardcoded in riferimenti esterni, immagini, forme, stili e oggetti rtext.
Comando: REDIR
Current REDIRMODE: Styles,Xrefs,Images,Rtext
Find and replace directory names
Enter old directory (use '*' for all), or ? <options>: specificare la cartella da sostituire o premere INVIO per visualizzare le opzioni (vedere REDIRMODE per le descrizioni delle opzioni)
Replace "*" with: specificare una nuova cartella oppure premere INVIO per specificare una stringa vuota (vedere il suggerimento riportato di seguito)
Esempio 1: elencare le associazioni di percorso correnti, quindi modificarle
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.
Esempio 2: rimuovere tutti i percorsi hardcoded
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