<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[DriverPacks.net Forum - [IMP] PreSetup.cmd - add on success/exit to drive letter search loop]]></title>
		<link>http://forum.driverpacks.net/viewtopic.php?id=2923</link>
		<description><![CDATA[The most recent posts in [IMP] PreSetup.cmd - add on success/exit to drive letter search loop.]]></description>
		<lastBuildDate>Sun, 28 Sep 2008 03:16:57 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [IMP] PreSetup.cmd - add on success/exit to drive letter search loop]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=24569#p24569</link>
			<description><![CDATA[<p>added base ver 8.09</p>]]></description>
			<author><![CDATA[null@example.com (OverFlow)]]></author>
			<pubDate>Sun, 28 Sep 2008 03:16:57 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=24569#p24569</guid>
		</item>
		<item>
			<title><![CDATA[Re: [IMP] PreSetup.cmd - add on success/exit to drive letter search loop]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=22567#p22567</link>
			<description><![CDATA[<p>moved to feature request and stickied<br />added to to do list</p>]]></description>
			<author><![CDATA[null@example.com (OverFlow)]]></author>
			<pubDate>Thu, 24 Jul 2008 00:06:08 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=22567#p22567</guid>
		</item>
		<item>
			<title><![CDATA[Re: [IMP] PreSetup.cmd - add on success/exit to drive letter search loop]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=22549#p22549</link>
			<description><![CDATA[<p>it is a simple update so i think we can add it...</p><p>and it would speed up the process too</p>]]></description>
			<author><![CDATA[null@example.com (OverFlow)]]></author>
			<pubDate>Wed, 23 Jul 2008 11:30:49 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=22549#p22549</guid>
		</item>
		<item>
			<title><![CDATA[[IMP] PreSetup.cmd - add on success/exit to drive letter search loop]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=22537#p22537</link>
			<description><![CDATA[<p>Under some circumstances the presetup.cmd causes an error messagebox: Windows Kein DatentrÃ¤ger (Windows no disk), Exception Processing Message C0000013 ... Abrechen, Wiederholen, Weiter (Abort, Retry, Continue) when it is trying to find the CD/DVD drive. </p><p>The following code causes the problem if there are card readers present.<br /></p><div class="codebox"><pre><code>REM +==========================================================================+
REM |   Finding CD/DVD driveletter.                                            |
REM |--------------------------------------------------------------------------|
SET TAGFILE=\OEM
FOR %%i IN (C D E F G H I J K L M N O P Q R S T U V W X Y) DO IF EXIST &quot;%%i:%TAGFILE%&quot; SET CDDRIVE=%%i:</code></pre></div><p>The problem is that the for loop continues searching (trying to read the root directory) even if it has already found the CD/DVD drive.<br />So I would suggest to change this code to abort the search after the CD/DVD has been found, which can be done in this way:<br /></p><div class="codebox"><pre><code>REM +==========================================================================+
REM |   Finding CD/DVD driveletter.                                            |
REM |--------------------------------------------------------------------------|
SET TAGFILE=\OEM
FOR %%i IN (C D E F G H I J K L M N O P Q R S T U V W X Y) DO IF EXIST &quot;%%i:%TAGFILE%&quot; (
      SET CDDRIVE=%%i:
      GOTO CDFOUND
)
:CDFOUND</code></pre></div><p>This helps at least if the drive letters of the card reader are behind the letter of the CD/DVD drive. Otherwise my solution does not work, but in this case also <a href="http://forum.driverpacks.net/viewtopic.php?id=101">other problems exist</a>.</p><p>Update title - jeff</p>]]></description>
			<author><![CDATA[null@example.com (JSe)]]></author>
			<pubDate>Wed, 23 Jul 2008 04:41:37 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=22537#p22537</guid>
		</item>
	</channel>
</rss>
