<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>VariableGHz &#187; convert</title>
	<atom:link href="http://variableghz.com/tag/convert/feed/" rel="self" type="application/rss+xml" />
	<link>http://variableghz.com</link>
	<description>For the technically inclined.</description>
	<lastBuildDate>Thu, 05 Apr 2012 15:16:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>DOS: Bypassing the Cyclic Redundancy Check (and other) Errors</title>
		<link>http://variableghz.com/2008/12/dos-bypassing-the-cyclic-redundancy-check-and-other-errors/</link>
		<comments>http://variableghz.com/2008/12/dos-bypassing-the-cyclic-redundancy-check-and-other-errors/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 09:00:36 +0000</pubDate>
		<dc:creator>Samuel</dc:creator>
				<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[bypass-cyclic-redundancy-check-on-cd]]></category>
		<category><![CDATA[CD]]></category>
		<category><![CDATA[command-line]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[CRC]]></category>
		<category><![CDATA[cyclic redundancy check]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[dos]]></category>
		<category><![CDATA[dos-copy-ignore-cyclical-redundancy-check]]></category>
		<category><![CDATA[MD5]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[robocopy]]></category>
		<category><![CDATA[robocopy-hangs-on-crc-error]]></category>
		<category><![CDATA[TIF]]></category>
		<category><![CDATA[xcopy]]></category>
		<category><![CDATA[xcopy-yclic-redundancy-check]]></category>

		<guid isPermaLink="false">http://variableghz.com/?p=190</guid>
		<description><![CDATA[I was terribly busy working on a case this week. Many of the documents in the case were scanned in .TIF (also known as TIFF, Tagged Image File Format) format. So, browsing through the documents in this manner proved terribly inefficient and I didn&#8217;t have enough time to look into third party programs that might [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p style="text-align: center;"><a href="http://variableghz.com/2008/12/dos-bypassing-the-cyclic-redundancy-check-and-other-errors/"><img class="aligncenter size-full wp-image-956" style="border: 2px solid black;" title="Magnified surface of a CD." src="http://variableghz.com/wp-content/uploads/2008/12/cdsurfaceheader.jpg" alt="" width="630" height="230" /></a></p>
<p>I was terribly busy working on a case this week. Many of the documents in the case were scanned in .TIF (also known as TIFF, Tagged Image File Format) format. So, browsing through the documents in this manner proved terribly inefficient and I didn&#8217;t have enough time to look into third party programs that might help me look through .TIF files faster. So, my solution was simple: I would take the CD full of sequentially numbered .TIF files and create a PDF out of them.</p>
<p>As I begun adding blocks of .TIF files to Adobe Acrobat, near the end of the disc, in the 6000&#8242;s, Acrobat would freeze up and hang and eventually result in a crash unless I ejected the disc. My assumption, was that certain files on the disc were corrupted either due to scratches or aluminum erosion/decay (they are very old discs).</p>
<p><span id="more-190"></span></p>
<p>Of course, there is no way to tell which files are corrupted this way. So, I decided to copy the entire folder of .TIF files to my hard drive to take note of the corrupted file(s). Big mistake. As Windows XP ran into corrupted files, it would halt for a tremendously long time, and then finally return an error:</p>
<blockquote><p>Cannot copy 00006337.tif: Data error (<a href="http://www.softwarepatch.com/tips/cyclic-redundancy.html">cyclic redundacy error</a>)</p></blockquote>
<p>After I press &#8220;OK&#8221; I then had to re-select all of the uncopied files, avoiding the corrupted file, and then continue. This proved futile since there were various corrupted files scattered throughout the disc. (As a side note, a couple of fantastic tools for recovering data from damaged discs that I have personally tested are: <a href="http://www.cgsecurity.org/wiki/PhotoRec">photorec</a> and <a href="http://www.objectrescue.com/products/media-reading.html">object rescue</a>). So, this seemingly simple task of &#8220;copy usable data from disc, ignoring corrupted files&#8221; has suddenly become a big problem on Windows XP and I am <em>seriously</em> short on time.</p>
<p>Without hesitation, I <a href="http://www.computerhope.com/issues/chdos.htm">opened a new command prompt</a>. I navigated to the directory of the files on my faulty disc and typed the following command:</p>
<blockquote><p><span style="color: #00ff00;">XCOPY *.* &#8220;C:\CASES (Sam)\Clair\FPD CDs\FPD&#8221; /C</span></p></blockquote>
<p>What does *.* mean? Well, it essentially means &#8220;wildcard dot wildcard,&#8221; meaning that I am stating any file with any extension. I type this because I am too lazy to type *.TIF since it&#8217;s the same thing. If, for example, I only wanted to copy the 00006000&#8242;s, I would type &#8220;00006*.*&#8221; Simple enough.</p>
<p>Note how I placed my destination folder in quotations? That stems from a long history of inconsistency dating back to the early DOS days when you had a 8 character limit. That was eventually extended in Windows95 which allowed for shortcuts for long directories in DOS like &#8220;C:\PROGRA~1&#8243; for &#8220;Program Files.&#8221; Putting quotation marks prevents (prevented?) DOS from interpreting a space as an end to your command.</p>
<p>Now, for the flag: /C. Doing a /? on XCOPY indicates:</p>
<blockquote><p><span style="color: #00ff00;">/C      Continues copying even if errors occur.</span></p></blockquote>
<p>Exactly what I was looking for, right? Right there, in DOS, built right in. All you need to know is where to look to save lots and lots of time. After executing the command, it worked flawlessly without the need for any further user intervention:</p>
<p style="text-align: center;"><a href="http://variableghz.com/wp-content/uploads/2008/12/xcopy_in_action.jpg"><img class="aligncenter size-full wp-image-195" style="border: 2px solid black;" title="xcopy_in_action" src="http://variableghz.com/wp-content/uploads/2008/12/xcopy_in_action.jpg" alt="" width="500" height="319" /></a></p>
<p style="text-align: center;"><strong>(simple xcopy solution for bypassing erroneous data)</strong></p>
<p>Hopefully you won&#8217;t have to put this technique to use, but if you do, it&#8217;s nice to know you have the right resources and knowledge at your disposal should you need them.</p>
<p>See also: Vista&#8217;s <a href="http://www.ss64.com/nt/robocopy.html">robocopy</a><br />
<script type="text/javascript">// <![CDATA[
google_ad_client = "pub-2887360562920979";
/* VGHZ on Bottom */
google_ad_slot = "1069674879";
google_ad_width = 468;
google_ad_height = 60;
// ]]&gt;</script></p>
<p>As always, comment or e-mail with questions.</p>
<p><a href="javascript:DeCryptX('benjoAwbsjbcmfhi{/dpn')">admin&#64;v&#97;r&#105;a&#98;&#108;&#101;g&#104;&#122;.c&#111;&#109;</a></p>
<div class="shr-publisher-190"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://variableghz.com/2008/12/dos-bypassing-the-cyclic-redundancy-check-and-other-errors/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

