Redéfinit des chemins codés dans des xréfs, images, formes, styles et textes distants.
Commande : REDIR
REDIRMODE courant : Styles, Xréfs, Images, Rtext
Permet de rechercher et de remplacer des noms de répertoires
Enter old directory (use '*' for all), or ? (Entrez l'ancien répertoire (utilisez '*' pour tous) ou ?) <options> : spécifiez le dossier à remplacer ou appuyez sur Entrée pour afficher les options (voir REDIRMODE pour obtenir la description des options )
Replace "*" with (Remplacer "*" par) : indiquez un dossier ou appuyez sur Entrée pour spécifier une chaîne vide (voir astuce ci-dessous).
Exemple 1 : Répetorier les associations de chemin courantes et les modifier
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.
Exemple 2 : Supprimer tous les chemins codés
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