<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Need to search and replace drive letters in 12,000 drawings (use xRepath) in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791682#M161970</link>
    <description>If you found such a string in your drawing, it must have been R12 DWG. Since&lt;BR /&gt;
R13, DWGs are compressed and byte boundaries don't mean anything anymore,&lt;BR /&gt;
the DWG is a compressed bit coded stream, so grep idea is absolutely&lt;BR /&gt;
useless. Switching single bit in a bit coded stream will most likely corrupt&lt;BR /&gt;
the whole DWG file.&lt;BR /&gt;
&lt;BR /&gt;
I bet anybody on this newsgroup for $50 bottle of red, that it's impossible&lt;BR /&gt;
to find xrefs in R14 DWG via grep, it's just pure nonsense.&lt;BR /&gt;
&lt;BR /&gt;
BTW: my XREF RE-PATHING program that works without AutoCAD, will change path&lt;BR /&gt;
in DWGs with the speed of 1000 dwgs/hour. You can download free trial&lt;BR /&gt;
version from my web site.&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
                          Alex Januszkiewicz&lt;BR /&gt;
 Intelcad Systems and 911 DWG Recovery Services&lt;BR /&gt;
                      http://www.intelcad.com&lt;BR /&gt;
          *Check out our DWF =&amp;gt; DWG converter*&lt;BR /&gt;
**The FASTEST Xref Re-path program on the planet**&lt;BR /&gt;
*      ObjectARX, OpenDWG, WhipTK, MDL      *&lt;BR /&gt;
--&lt;BR /&gt;
&lt;BR /&gt;
Yves Allaire &lt;YALLAIRE&gt; wrote in message&lt;BR /&gt;
news:3858FF1B.4363C0C6@lino.com...&lt;BR /&gt;
&amp;gt; Then you only hopes are :&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; 1- Replace the strings inside the drawings with GREP, it works because you&lt;BR /&gt;
can search (and find)&lt;BR /&gt;
&amp;gt; the text inside a drawing. I can't give you a software name to do this&lt;BR /&gt;
though.&lt;BR /&gt;
&amp;gt; 2- Open each drawing as needed and reattach the XREFs&lt;BR /&gt;
&amp;gt; 3- Keep it the way it is.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; I was able to find the following string inside one of my drawings.&lt;BR /&gt;
&amp;gt; "q:\224gd\dessin\rep_utm_mine.dwg" which is a XREF.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Hope this helps.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Dave Lewis wrote:&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; There are over 100 active projects and each project has anyware from 2&lt;BR /&gt;
to 10 different&lt;BR /&gt;
&amp;gt; &amp;gt; tasks.  So the possibilities are between 200 to 1000 different base&lt;BR /&gt;
drawings subdirectories.&lt;BR /&gt;
&amp;gt; &amp;gt; Come dood&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Yves Allaire &lt;YALLAIRE&gt;&lt;BR /&gt;
&amp;gt; &amp;gt; |&amp;gt;I don't know how complex are your files but there is a solution with&lt;BR /&gt;
the&lt;BR /&gt;
&amp;gt; &amp;gt; |&amp;gt;system variable PROJECTNAME, to which you can assign search paths&lt;BR /&gt;
(under&lt;BR /&gt;
&amp;gt; &amp;gt; |&amp;gt;Tools Preferences), as much as you want, it don't seem to look to sub&lt;BR /&gt;
&amp;gt; &amp;gt; |&amp;gt;folders though.&lt;BR /&gt;
&amp;gt;&lt;/YALLAIRE&gt;&lt;/YALLAIRE&gt;</description>
    <pubDate>Fri, 17 Dec 1999 09:34:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>1999-12-17T09:34:10Z</dc:date>
    <item>
      <title>Need to search and replace drive letters in 12,000 drawings.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791667#M161955</link>
      <description>We are changing the way our projects are arranged on our file server.&lt;BR /&gt;
Before we had drives Q: U: V: W: U: X:  Now we want to get arid of&lt;BR /&gt;
all those drive letters and replace them with P: for projects.  The problem&lt;BR /&gt;
is that we have about 12,000 dwg files on our server.  We need a way&lt;BR /&gt;
to search and see if any drawings reference Q: for example.  If there&lt;BR /&gt;
is no reference to the Q: drive then we can remove the Q: drive from&lt;BR /&gt;
the login scripts.</description>
      <pubDate>Tue, 14 Dec 1999 19:08:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791667#M161955</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-12-14T19:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need to search and replace drive letters in 12,000 drawings.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791668#M161956</link>
      <description>Are you using Xrefs?&lt;BR /&gt;
&lt;BR /&gt;
Dave Lewis wrote:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; We are changing the way our projects are arranged on our file server.&lt;BR /&gt;
&amp;gt; Before we had drives Q: U: V: W: U: X:  Now we want to get arid of&lt;BR /&gt;
&amp;gt; all those drive letters and replace them with P: for projects.  The problem&lt;BR /&gt;
&amp;gt; is that we have about 12,000 dwg files on our server.  We need a way&lt;BR /&gt;
&amp;gt; to search and see if any drawings reference Q: for example.  If there&lt;BR /&gt;
&amp;gt; is no reference to the Q: drive then we can remove the Q: drive from&lt;BR /&gt;
&amp;gt; the login scripts.</description>
      <pubDate>Tue, 14 Dec 1999 19:24:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791668#M161956</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-12-14T19:24:28Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791669#M161957</link>
      <description>A long time ago, in a galaxy far away, I used to be able to do a GREP on the&lt;BR /&gt;
files and get directory information....  Maybe that still works......&lt;BR /&gt;
&lt;BR /&gt;
Nick&lt;BR /&gt;
&lt;BR /&gt;
"Yves Allaire" &lt;YALLAIRE&gt; wrote in message&lt;BR /&gt;
news:3856996C.7BF31E45@lino.com...&lt;BR /&gt;
&amp;gt; Are you using Xrefs?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Dave Lewis wrote:&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; We are changing the way our projects are arranged on our file server.&lt;BR /&gt;
&amp;gt; &amp;gt; Before we had drives Q: U: V: W: U: X:  Now we want to get arid of&lt;BR /&gt;
&amp;gt; &amp;gt; all those drive letters and replace them with P: for projects.  The&lt;BR /&gt;
problem&lt;BR /&gt;
&amp;gt; &amp;gt; is that we have about 12,000 dwg files on our server.  We need a way&lt;BR /&gt;
&amp;gt; &amp;gt; to search and see if any drawings reference Q: for example.  If there&lt;BR /&gt;
&amp;gt; &amp;gt; is no reference to the Q: drive then we can remove the Q: drive from&lt;BR /&gt;
&amp;gt; &amp;gt; the login scripts.&lt;BR /&gt;
&amp;gt;&lt;/YALLAIRE&gt;</description>
      <pubDate>Tue, 14 Dec 1999 21:04:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791669#M161957</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-12-14T21:04:34Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791670#M161958</link>
      <description>bingo.  Xrefs are NOT in the same directories&lt;BR /&gt;
&lt;BR /&gt;
Yves Allaire &lt;YALLAIRE&gt;&lt;BR /&gt;
|&amp;gt;Are you using Xrefs?&lt;/YALLAIRE&gt;</description>
      <pubDate>Wed, 15 Dec 1999 18:27:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791670#M161958</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-12-15T18:27:54Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791671#M161959</link>
      <description>what's a GREP and does it work with R14 files?&lt;BR /&gt;
&lt;BR /&gt;
"Nick Jacobs" &lt;JACOBS&gt;&lt;BR /&gt;
|&amp;gt;A long time ago, in a galaxy far away, I used to be able to do a GREP on the&lt;BR /&gt;
|&amp;gt;files and get directory information....  Maybe that still works......&lt;/JACOBS&gt;</description>
      <pubDate>Wed, 15 Dec 1999 18:28:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791671#M161959</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-12-15T18:28:40Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791672#M161960</link>
      <description>I don't know how complex are your files but there is a solution with the&lt;BR /&gt;
system variable PROJECTNAME, to which you can assign search paths (under&lt;BR /&gt;
Tools Preferences), as much as you want, it don't seem to look to sub&lt;BR /&gt;
folders though.&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps&lt;BR /&gt;
&lt;BR /&gt;
Dave Lewis wrote:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; bingo.  Xrefs are NOT in the same directories&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Yves Allaire &lt;YALLAIRE&gt;&lt;BR /&gt;
&amp;gt; |&amp;gt;Are you using Xrefs?&lt;/YALLAIRE&gt;</description>
      <pubDate>Wed, 15 Dec 1999 20:06:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791672#M161960</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-12-15T20:06:40Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791673#M161961</link>
      <description>In article &amp;lt;7enf5s0gs5uoh61fdtp81grod2cq49jqns@4ax.com&amp;gt;, Dave Lewis &lt;BR /&gt;
wrote:&lt;BR /&gt;
&amp;gt; what's a GREP&lt;BR /&gt;
&lt;BR /&gt;
Generalized Regular Ecpression Parser.  Originally developed for UNIX &lt;BR /&gt;
but ported to all OS's in many incarnations.  Looks for text patterns &lt;BR /&gt;
in files.  Kind of like Start|Find| Files or Folders on steroids.&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; and does it work with R14 files&lt;BR /&gt;
&lt;BR /&gt;
I believe not.  I think the text in R14 files is compressed.&lt;BR /&gt;
&lt;BR /&gt;
jrf&lt;BR /&gt;
Member of the Autodesk Discussion Forum Moderator Program</description>
      <pubDate>Wed, 15 Dec 1999 22:21:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791673#M161961</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-12-15T22:21:06Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791674#M161962</link>
      <description>I don't believe there's any kind of text compression in&lt;BR /&gt;
any AutoCAD file versions.  Let's of people use Explorer's&lt;BR /&gt;
Find to locate drawings that contain things like block&lt;BR /&gt;
names, and arbitrary text strings.&lt;BR /&gt;
&lt;BR /&gt;
Jon Fleming wrote:&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; In article &amp;lt;7enf5s0gs5uoh61fdtp81grod2cq49jqns@4ax.com&amp;gt;, Dave Lewis&lt;BR /&gt;
&amp;gt; wrote:&lt;BR /&gt;
&amp;gt; &amp;gt; what's a GREP&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Generalized Regular Ecpression Parser.  Originally developed for UNIX&lt;BR /&gt;
&amp;gt; but ported to all OS's in many incarnations.  Looks for text patterns&lt;BR /&gt;
&amp;gt; in files.  Kind of like Start|Find| Files or Folders on steroids.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; &amp;gt; and does it work with R14 files&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; I believe not.  I think the text in R14 files is compressed.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; jrf&lt;BR /&gt;
&amp;gt; Member of the Autodesk Discussion Forum Moderator Program&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
/*********************************************************/&lt;BR /&gt;
/*    Tony Tanzillo     Design Automation Consulting     */&lt;BR /&gt;
/* Programming &amp;amp; Customization for AutoCAD &amp;amp; Compatibles */&lt;BR /&gt;
/* ----------------------------------------------------- */&lt;BR /&gt;
/*            tony.tanzillo@worldnet.att.net             */&lt;BR /&gt;
/*    http://ourworld.compuserve.com/homepages/tonyt     */&lt;BR /&gt;
/*********************************************************/</description>
      <pubDate>Wed, 15 Dec 1999 22:21:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791674#M161962</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-12-15T22:21:57Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791675#M161963</link>
      <description>Jon Fleming wrote:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; In article &amp;lt;7enf5s0gs5uoh61fdtp81grod2cq49jqns@4ax.com&amp;gt;, Dave Lewis&lt;BR /&gt;
&amp;gt; wrote:&lt;BR /&gt;
&amp;gt; &amp;gt; what's a GREP&lt;BR /&gt;
&amp;gt; Generalized Regular Ecpression Parser.&lt;BR /&gt;
&lt;BR /&gt;
Many people think this.  Actually, the name comes from the 'ed' (early&lt;BR /&gt;
Unix editor, ancestor of 'vi') command:&lt;BR /&gt;
  g/&lt;REGULAR expression=""&gt;/p&lt;BR /&gt;
which is interpreted as:&lt;BR /&gt;
&lt;BR /&gt;
   * g&lt;BR /&gt;
     Global prefix&lt;BR /&gt;
   * /&lt;REGULAR expression=""&gt;/&lt;BR /&gt;
     Search for Regular Expression&lt;BR /&gt;
   * p&lt;BR /&gt;
     Print selected line(s)&lt;BR /&gt;
&lt;BR /&gt;
Another drop in the sea of arcane knowledge.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; &amp;gt; and does it work with R14 files&lt;BR /&gt;
&amp;gt; I believe not.  I think the text in R14 files is compressed.&lt;BR /&gt;
&lt;BR /&gt;
Various types of text objects are compressed in R14 and A2K DWG files,&lt;BR /&gt;
but many textual items (block names, table names, etc.) are not.&lt;BR /&gt;
--&lt;BR /&gt;
Frank Whaley&lt;BR /&gt;
Autodesk, Inc.&lt;BR /&gt;
few@autodesk.com&lt;BR /&gt;
http://www.autodesk.com/expresstools&lt;BR /&gt;
Express Tools - Your wish is our (command ...)&lt;/REGULAR&gt;&lt;/REGULAR&gt;</description>
      <pubDate>Wed, 15 Dec 1999 23:16:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791675#M161963</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-12-15T23:16:39Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791676#M161964</link>
      <description>There are over 100 active projects and each project has anyware from 2 to 10 different&lt;BR /&gt;
tasks.  So the possibilities are between 200 to 1000 different base drawings subdirectories.&lt;BR /&gt;
Come dood&lt;BR /&gt;
&lt;BR /&gt;
Yves Allaire &lt;YALLAIRE&gt;&lt;BR /&gt;
|&amp;gt;I don't know how complex are your files but there is a solution with the&lt;BR /&gt;
|&amp;gt;system variable PROJECTNAME, to which you can assign search paths (under&lt;BR /&gt;
|&amp;gt;Tools Preferences), as much as you want, it don't seem to look to sub&lt;BR /&gt;
|&amp;gt;folders though.&lt;/YALLAIRE&gt;</description>
      <pubDate>Thu, 16 Dec 1999 00:58:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791676#M161964</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-12-16T00:58:38Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791677#M161965</link>
      <description>Then you only hopes are :&lt;BR /&gt;
&lt;BR /&gt;
1- Replace the strings inside the drawings with GREP, it works because you can search (and find)&lt;BR /&gt;
the text inside a drawing. I can't give you a software name to do this though.&lt;BR /&gt;
2- Open each drawing as needed and reattach the XREFs&lt;BR /&gt;
3- Keep it the way it is.&lt;BR /&gt;
&lt;BR /&gt;
I was able to find the following string inside one of my drawings.&lt;BR /&gt;
"q:\224gd\dessin\rep_utm_mine.dwg" which is a XREF.&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps.&lt;BR /&gt;
&lt;BR /&gt;
Dave Lewis wrote:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; There are over 100 active projects and each project has anyware from 2 to 10 different&lt;BR /&gt;
&amp;gt; tasks.  So the possibilities are between 200 to 1000 different base drawings subdirectories.&lt;BR /&gt;
&amp;gt; Come dood&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Yves Allaire &lt;YALLAIRE&gt;&lt;BR /&gt;
&amp;gt; |&amp;gt;I don't know how complex are your files but there is a solution with the&lt;BR /&gt;
&amp;gt; |&amp;gt;system variable PROJECTNAME, to which you can assign search paths (under&lt;BR /&gt;
&amp;gt; |&amp;gt;Tools Preferences), as much as you want, it don't seem to look to sub&lt;BR /&gt;
&amp;gt; |&amp;gt;folders though.&lt;/YALLAIRE&gt;</description>
      <pubDate>Thu, 16 Dec 1999 15:02:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791677#M161965</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-12-16T15:02:51Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791678#M161966</link>
      <description>Yves Allaire wrote:&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Then you only hopes are :&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; 1- Replace the strings inside the drawings with GREP, it works because you can search (and find)&lt;BR /&gt;
&amp;gt; the text inside a drawing. I can't give you a software name to do this though.&lt;BR /&gt;
&lt;BR /&gt;
Dwg files are not text files. You will probably corrupt the drawing&lt;BR /&gt;
unless the old and new strings are the same length &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; 2- Open each drawing as needed and reattach the XREFs&lt;BR /&gt;
&amp;gt; 3- Keep it the way it is.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; I was able to find the following string inside one of my drawings.&lt;BR /&gt;
&amp;gt; "q:\224gd\dessin\rep_utm_mine.dwg" which is a XREF.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Hope this helps.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Dave Lewis wrote:&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; &amp;gt; There are over 100 active projects and each project has anyware from 2 to 10 different&lt;BR /&gt;
&amp;gt; &amp;gt; tasks.  So the possibilities are between 200 to 1000 different base drawings subdirectories.&lt;BR /&gt;
&amp;gt; &amp;gt; Come dood&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Yves Allaire &lt;YALLAIRE&gt;&lt;BR /&gt;
&amp;gt; &amp;gt; |&amp;gt;I don't know how complex are your files but there is a solution with the&lt;BR /&gt;
&amp;gt; &amp;gt; |&amp;gt;system variable PROJECTNAME, to which you can assign search paths (under&lt;BR /&gt;
&amp;gt; &amp;gt; |&amp;gt;Tools Preferences), as much as you want, it don't seem to look to sub&lt;BR /&gt;
&amp;gt; &amp;gt; |&amp;gt;folders though.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
    |                                              &lt;BR /&gt;
----+----------------------------------------------&lt;BR /&gt;
    |  Byron Blattel                               &lt;BR /&gt;
    |  CADwerx---Applications for AutoCAD          &lt;BR /&gt;
    |                                              &lt;BR /&gt;
    |  e-mail: cadwerx@texas.net                   &lt;BR /&gt;
    |&lt;BR /&gt;
    |&lt;/YALLAIRE&gt;</description>
      <pubDate>Thu, 16 Dec 1999 15:09:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791678#M161966</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-12-16T15:09:20Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791679#M161967</link>
      <description>Yves Allaire &lt;YALLAIRE&gt;&lt;BR /&gt;
|&amp;gt;Then you only hopes are :&lt;BR /&gt;
|&amp;gt;&lt;BR /&gt;
|&amp;gt;1- Replace the strings inside the drawings with GREP, it works because you can search (and find)&lt;BR /&gt;
|&amp;gt;the text inside a drawing. I can't give you a software name to do this though.&lt;BR /&gt;
&lt;BR /&gt;
Well is the GREP method like using a HEX editor or is it clear text?   It sounds like it might work.&lt;BR /&gt;
All I have to do is change drive letters.&lt;BR /&gt;
&lt;BR /&gt;
|&amp;gt;2- Open each drawing as needed and reattach the XREFs&lt;BR /&gt;
&lt;BR /&gt;
way way too many drawings for that&lt;BR /&gt;
&lt;BR /&gt;
|&amp;gt;3- Keep it the way it is.&lt;BR /&gt;
|&amp;gt;&lt;BR /&gt;
|&amp;gt;I was able to find the following string inside one of my drawings.&lt;BR /&gt;
|&amp;gt;"q:\224gd\dessin\rep_utm_mine.dwg" which is a XREF.&lt;/YALLAIRE&gt;</description>
      <pubDate>Thu, 16 Dec 1999 17:35:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791679#M161967</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-12-16T17:35:44Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791680#M161968</link>
      <description>I believe AutoCAD DWG files have a checksum ... don't change anything in the DWG file unless you &lt;BR /&gt;
are prepared to recalculate the checksum.&lt;BR /&gt;
&lt;BR /&gt;
jrf&lt;BR /&gt;
Member of the Autodesk Discussion Forum Moderator Program&lt;BR /&gt;
&lt;BR /&gt;
In article &amp;lt;3858FF1B.4363C0C6@lino.com&amp;gt;, Yves Allaire wrote:&lt;BR /&gt;
&amp;gt; 1- Replace the strings inside the drawings with GREP, it works because you can search (and find)&lt;BR /&gt;
&amp;gt; the text inside a drawing. I can't give you a software name to do this though.</description>
      <pubDate>Thu, 16 Dec 1999 23:02:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791680#M161968</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-12-16T23:02:19Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791681#M161969</link>
      <description>It's not possible. R14 AutoCAD drawings use compression and it's not&lt;BR /&gt;
possible to find any attribute or xref text strings in DWG file, the way it&lt;BR /&gt;
could be done in R12.&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
                          Alex Januszkiewicz&lt;BR /&gt;
 Intelcad Systems and 911 DWG Recovery Services&lt;BR /&gt;
                      http://www.intelcad.com&lt;BR /&gt;
          *Check out our DWF =&amp;gt; DWG converter*&lt;BR /&gt;
**The FASTEST Xref Re-path program on the planet**&lt;BR /&gt;
*      ObjectARX, OpenDWG, WhipTK, MDL      *&lt;BR /&gt;
--&lt;BR /&gt;
&lt;BR /&gt;
Tony Tanzillo &lt;TONY.TANZILLO&gt; wrote in message&lt;BR /&gt;
news:38581485.BA9BF949@worldnet.att.net...&lt;BR /&gt;
&amp;gt; I don't believe there's any kind of text compression in&lt;BR /&gt;
&amp;gt; any AutoCAD file versions.  Let's of people use Explorer's&lt;BR /&gt;
&amp;gt; Find to locate drawings that contain things like block&lt;BR /&gt;
&amp;gt; names, and arbitrary text strings.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Jon Fleming wrote:&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; In article &amp;lt;7enf5s0gs5uoh61fdtp81grod2cq49jqns@4ax.com&amp;gt;, Dave Lewis&lt;BR /&gt;
&amp;gt; &amp;gt; wrote:&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; what's a GREP&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Generalized Regular Ecpression Parser.  Originally developed for UNIX&lt;BR /&gt;
&amp;gt; &amp;gt; but ported to all OS's in many incarnations.  Looks for text patterns&lt;BR /&gt;
&amp;gt; &amp;gt; in files.  Kind of like Start|Find| Files or Folders on steroids.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; and does it work with R14 files&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; I believe not.  I think the text in R14 files is compressed.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; jrf&lt;BR /&gt;
&amp;gt; &amp;gt; Member of the Autodesk Discussion Forum Moderator Program&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; --&lt;BR /&gt;
&amp;gt; /*********************************************************/&lt;BR /&gt;
&amp;gt; /*    Tony Tanzillo     Design Automation Consulting     */&lt;BR /&gt;
&amp;gt; /* Programming &amp;amp; Customization for AutoCAD &amp;amp; Compatibles */&lt;BR /&gt;
&amp;gt; /* ----------------------------------------------------- */&lt;BR /&gt;
&amp;gt; /*            tony.tanzillo@worldnet.att.net             */&lt;BR /&gt;
&amp;gt; /*    http://ourworld.compuserve.com/homepages/tonyt     */&lt;BR /&gt;
&amp;gt; /*********************************************************/&lt;/TONY.TANZILLO&gt;</description>
      <pubDate>Fri, 17 Dec 1999 08:54:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791681#M161969</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-12-17T08:54:52Z</dc:date>
    </item>
    <item>
      <title>Need to search and replace drive letters in 12,000 drawings (use xRepath)</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791682#M161970</link>
      <description>If you found such a string in your drawing, it must have been R12 DWG. Since&lt;BR /&gt;
R13, DWGs are compressed and byte boundaries don't mean anything anymore,&lt;BR /&gt;
the DWG is a compressed bit coded stream, so grep idea is absolutely&lt;BR /&gt;
useless. Switching single bit in a bit coded stream will most likely corrupt&lt;BR /&gt;
the whole DWG file.&lt;BR /&gt;
&lt;BR /&gt;
I bet anybody on this newsgroup for $50 bottle of red, that it's impossible&lt;BR /&gt;
to find xrefs in R14 DWG via grep, it's just pure nonsense.&lt;BR /&gt;
&lt;BR /&gt;
BTW: my XREF RE-PATHING program that works without AutoCAD, will change path&lt;BR /&gt;
in DWGs with the speed of 1000 dwgs/hour. You can download free trial&lt;BR /&gt;
version from my web site.&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
                          Alex Januszkiewicz&lt;BR /&gt;
 Intelcad Systems and 911 DWG Recovery Services&lt;BR /&gt;
                      http://www.intelcad.com&lt;BR /&gt;
          *Check out our DWF =&amp;gt; DWG converter*&lt;BR /&gt;
**The FASTEST Xref Re-path program on the planet**&lt;BR /&gt;
*      ObjectARX, OpenDWG, WhipTK, MDL      *&lt;BR /&gt;
--&lt;BR /&gt;
&lt;BR /&gt;
Yves Allaire &lt;YALLAIRE&gt; wrote in message&lt;BR /&gt;
news:3858FF1B.4363C0C6@lino.com...&lt;BR /&gt;
&amp;gt; Then you only hopes are :&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; 1- Replace the strings inside the drawings with GREP, it works because you&lt;BR /&gt;
can search (and find)&lt;BR /&gt;
&amp;gt; the text inside a drawing. I can't give you a software name to do this&lt;BR /&gt;
though.&lt;BR /&gt;
&amp;gt; 2- Open each drawing as needed and reattach the XREFs&lt;BR /&gt;
&amp;gt; 3- Keep it the way it is.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; I was able to find the following string inside one of my drawings.&lt;BR /&gt;
&amp;gt; "q:\224gd\dessin\rep_utm_mine.dwg" which is a XREF.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Hope this helps.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Dave Lewis wrote:&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; There are over 100 active projects and each project has anyware from 2&lt;BR /&gt;
to 10 different&lt;BR /&gt;
&amp;gt; &amp;gt; tasks.  So the possibilities are between 200 to 1000 different base&lt;BR /&gt;
drawings subdirectories.&lt;BR /&gt;
&amp;gt; &amp;gt; Come dood&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Yves Allaire &lt;YALLAIRE&gt;&lt;BR /&gt;
&amp;gt; &amp;gt; |&amp;gt;I don't know how complex are your files but there is a solution with&lt;BR /&gt;
the&lt;BR /&gt;
&amp;gt; &amp;gt; |&amp;gt;system variable PROJECTNAME, to which you can assign search paths&lt;BR /&gt;
(under&lt;BR /&gt;
&amp;gt; &amp;gt; |&amp;gt;Tools Preferences), as much as you want, it don't seem to look to sub&lt;BR /&gt;
&amp;gt; &amp;gt; |&amp;gt;folders though.&lt;BR /&gt;
&amp;gt;&lt;/YALLAIRE&gt;&lt;/YALLAIRE&gt;</description>
      <pubDate>Fri, 17 Dec 1999 09:34:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791682#M161970</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-12-17T09:34:10Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791683#M161971</link>
      <description>1. You are right, changing anything in bit coded stream (that's what R13 and&lt;BR /&gt;
up DWGs are) is guaranteed to corrupt the drawing.&lt;BR /&gt;
2. He will not find single string to change, bit coded stream ignores byte&lt;BR /&gt;
boundaries, so even if text was not compressed, it would be impossible to&lt;BR /&gt;
recognize it.&lt;BR /&gt;
3. Funny thread (and VERY dangerous idea)&lt;BR /&gt;
4. xRepath - Win9x/NT standalone utility, will do this Herculean job, free&lt;BR /&gt;
download, check http://www.intelcad.com&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
                          Alex Januszkiewicz&lt;BR /&gt;
 Intelcad Systems and 911 DWG Recovery Services&lt;BR /&gt;
                      http://www.intelcad.com&lt;BR /&gt;
          *Check out our DWF =&amp;gt; DWG converter*&lt;BR /&gt;
**The FASTEST Xref Re-path program on the planet**&lt;BR /&gt;
*      ObjectARX, OpenDWG, WhipTK, MDL      *&lt;BR /&gt;
--&lt;BR /&gt;
&lt;BR /&gt;
Byron Blattel &lt;CADWERX&gt; wrote in message&lt;BR /&gt;
news:385900A0.4D513204@texas.net...&lt;BR /&gt;
&amp;gt; Dwg files are not text files. You will probably corrupt the drawing&lt;BR /&gt;
&amp;gt; unless the old and new strings are the same length &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; 2- Open each drawing as needed and reattach the XREFs&lt;BR /&gt;
&amp;gt; &amp;gt; 3- Keep it the way it is.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; I was able to find the following string inside one of my drawings.&lt;BR /&gt;
&amp;gt; &amp;gt; "q:\224gd\dessin\rep_utm_mine.dwg" which is a XREF.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Hope this helps.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Dave Lewis wrote:&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; There are over 100 active projects and each project has anyware from 2&lt;BR /&gt;
to 10 different&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; tasks.  So the possibilities are between 200 to 1000 different base&lt;BR /&gt;
drawings subdirectories.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Come dood&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Yves Allaire &lt;YALLAIRE&gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; |&amp;gt;I don't know how complex are your files but there is a solution with&lt;BR /&gt;
the&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; |&amp;gt;system variable PROJECTNAME, to which you can assign search paths&lt;BR /&gt;
(under&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; |&amp;gt;Tools Preferences), as much as you want, it don't seem to look to&lt;BR /&gt;
sub&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; |&amp;gt;folders though.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; --&lt;BR /&gt;
&amp;gt;     |&lt;BR /&gt;
&amp;gt; ----+----------------------------------------------&lt;BR /&gt;
&amp;gt;     |  Byron Blattel&lt;BR /&gt;
&amp;gt;     |  CADwerx---Applications for AutoCAD&lt;BR /&gt;
&amp;gt;     |&lt;BR /&gt;
&amp;gt;     |  e-mail: cadwerx@texas.net&lt;BR /&gt;
&amp;gt;     |&lt;BR /&gt;
&amp;gt;     |&lt;/YALLAIRE&gt;&lt;/CADWERX&gt;</description>
      <pubDate>Fri, 17 Dec 1999 09:56:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791683#M161971</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-12-17T09:56:39Z</dc:date>
    </item>
    <item>
      <title>Need to search and replace drive letters in 12,000 drawings (use xRepath)</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791684#M161972</link>
      <description>Alex Januszkiewicz wrote:&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; If you found such a string in your drawing, it must have been R12 DWG. Since&lt;BR /&gt;
&amp;gt; R13, DWGs are compressed and byte boundaries don't mean anything anymore,&lt;BR /&gt;
&amp;gt; the DWG is a compressed bit coded stream, so grep idea is absolutely&lt;BR /&gt;
&amp;gt; useless. Switching single bit in a bit coded stream will most likely corrupt&lt;BR /&gt;
&amp;gt; the whole DWG file.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; I bet anybody on this newsgroup for $50 bottle of red, that it's impossible&lt;BR /&gt;
&amp;gt; to find xrefs in R14 DWG via grep, it's just pure nonsense.&lt;BR /&gt;
&lt;BR /&gt;
They can most certainly be found (R14 &amp;amp; A2K) if you know before hand&lt;BR /&gt;
what you are looking for. They are archived with the length of the&lt;BR /&gt;
string preceding the string itself.  They can be edited as long as the&lt;BR /&gt;
length of the string is not changed, although I would not recommend it&lt;BR /&gt;
to users.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
    |                                              &lt;BR /&gt;
----+----------------------------------------------&lt;BR /&gt;
    |  Byron Blattel                               &lt;BR /&gt;
    |  CADwerx---Applications for AutoCAD          &lt;BR /&gt;
    |                                              &lt;BR /&gt;
    |  e-mail: cadwerx@texas.net                   &lt;BR /&gt;
    |&lt;BR /&gt;
    |</description>
      <pubDate>Fri, 17 Dec 1999 16:08:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791684#M161972</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-12-17T16:08:59Z</dc:date>
    </item>
    <item>
      <title>Need to search and replace drive letters in 12,000 drawings (use xRepath)</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791685#M161973</link>
      <description>Alex Januszkiewicz wrote:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; I bet anybody on this newsgroup for $50 bottle of red, that it's impossible&lt;BR /&gt;
&amp;gt; to find xrefs in R14 DWG via grep, it's just pure nonsense.&lt;BR /&gt;
&lt;BR /&gt;
Copied from a command window:&lt;BR /&gt;
&lt;BR /&gt;
C:\ACADR14\SAMPLE&amp;gt;strings *.dwg | grep dwg&lt;BR /&gt;
bftitle.dwgA&lt;BR /&gt;
bflylogo.dwgA&lt;BR /&gt;
bflylogo.dwgA&lt;BR /&gt;
&lt;BR /&gt;
C:\ACADR14\SAMPLE&amp;gt;dwgver b*.dwg&lt;BR /&gt;
[bflyhse.dwg]  Internal development: Early R14&lt;BR /&gt;
[bflylogo.dwg]  Internal development: Early R14&lt;BR /&gt;
[bftitle.dwg]  Internal development: Early R14&lt;BR /&gt;
--&lt;BR /&gt;
Frank Whaley&lt;BR /&gt;
Autodesk, Inc.&lt;BR /&gt;
few@autodesk.com&lt;BR /&gt;
http://www.autodesk.com/expresstools&lt;BR /&gt;
Express Tools - Your wish is our (command ...)</description>
      <pubDate>Fri, 17 Dec 1999 17:17:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791685#M161973</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-12-17T17:17:27Z</dc:date>
    </item>
    <item>
      <title>Need to search and replace drive letters in 12,000 drawings (use xRepath)</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791686#M161974</link>
      <description>Byron,&lt;BR /&gt;
&lt;BR /&gt;
You're right (but Tony T. was first to point that out, so he gets the&lt;BR /&gt;
bottle). Big surprise for me, as this is very inconsistent with the rest of&lt;BR /&gt;
R14 DWG being bit coded. Shouldn't have been so jumpy &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Each record (now, after what happened, I'm a bit afraid to say "each", let's&lt;BR /&gt;
say most records) in DWG have CRC field, that is there for the purpose of&lt;BR /&gt;
checking, if some bit has not been accidentally changed in the record.&lt;BR /&gt;
Modifying letter C: to M: would be then considered by AutoCAD an accident,&lt;BR /&gt;
as whoever does it with hex editor will not modify CRC field accordingly.&lt;BR /&gt;
Don't know though, if CRC is generated for the record containing path&lt;BR /&gt;
string. I would just advise extreme caution and lot's of experimenting,&lt;BR /&gt;
before somebody will decide to run all drawings through some hex editing.&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
                          Alex Januszkiewicz&lt;BR /&gt;
 Intelcad Systems and 911 DWG Recovery Services&lt;BR /&gt;
                      http://www.intelcad.com&lt;BR /&gt;
          *Check out our DWF =&amp;gt; DWG converter*&lt;BR /&gt;
**The FASTEST Xref Re-path program on the planet**&lt;BR /&gt;
*      ObjectARX, OpenDWG, WhipTK, MDL      *&lt;BR /&gt;
--&lt;BR /&gt;
&lt;BR /&gt;
Byron Blattel &lt;CADWERX&gt; wrote in message&lt;BR /&gt;
news:385A601B.64F5A099@texas.net...&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Alex Januszkiewicz wrote:&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; If you found such a string in your drawing, it must have been R12 DWG.&lt;BR /&gt;
Since&lt;BR /&gt;
&amp;gt; &amp;gt; R13, DWGs are compressed and byte boundaries don't mean anything&lt;BR /&gt;
anymore,&lt;BR /&gt;
&amp;gt; &amp;gt; the DWG is a compressed bit coded stream, so grep idea is absolutely&lt;BR /&gt;
&amp;gt; &amp;gt; useless. Switching single bit in a bit coded stream will most likely&lt;BR /&gt;
corrupt&lt;BR /&gt;
&amp;gt; &amp;gt; the whole DWG file.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; I bet anybody on this newsgroup for $50 bottle of red, that it's&lt;BR /&gt;
impossible&lt;BR /&gt;
&amp;gt; &amp;gt; to find xrefs in R14 DWG via grep, it's just pure nonsense.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; They can most certainly be found (R14 &amp;amp; A2K) if you know before hand&lt;BR /&gt;
&amp;gt; what you are looking for. They are archived with the length of the&lt;BR /&gt;
&amp;gt; string preceding the string itself.  They can be edited as long as the&lt;BR /&gt;
&amp;gt; length of the string is not changed, although I would not recommend it&lt;BR /&gt;
&amp;gt; to users.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; --&lt;BR /&gt;
&amp;gt;     |&lt;BR /&gt;
&amp;gt; ----+----------------------------------------------&lt;BR /&gt;
&amp;gt;     |  Byron Blattel&lt;BR /&gt;
&amp;gt;     |  CADwerx---Applications for AutoCAD&lt;BR /&gt;
&amp;gt;     |&lt;BR /&gt;
&amp;gt;     |  e-mail: cadwerx@texas.net&lt;BR /&gt;
&amp;gt;     |&lt;BR /&gt;
&amp;gt;     |&lt;/CADWERX&gt;</description>
      <pubDate>Fri, 17 Dec 1999 17:54:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-search-and-replace-drive-letters-in-12-000-drawings/m-p/791686#M161974</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-12-17T17:54:23Z</dc:date>
    </item>
  </channel>
</rss>

