<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[DriverPacks.net Forum - [IMP] PreSetup.cmd - add on success/exit to drive letter search loop]]></title>
	<link rel="self" href="http://forum.driverpacks.net/extern.php?action=feed&amp;tid=2923&amp;type=atom"/>
	<updated>2008-09-28T03:16:57Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.driverpacks.net/viewtopic.php?id=2923</id>
		<entry>
			<title type="html"><![CDATA[Re: [IMP] PreSetup.cmd - add on success/exit to drive letter search loop]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=24569#p24569"/>
			<content type="html"><![CDATA[<p>added base ver 8.09</p>]]></content>
			<author>
				<name><![CDATA[OverFlow]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=1097</uri>
			</author>
			<updated>2008-09-28T03:16:57Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=24569#p24569</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [IMP] PreSetup.cmd - add on success/exit to drive letter search loop]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=22567#p22567"/>
			<content type="html"><![CDATA[<p>moved to feature request and stickied<br />added to to do list</p>]]></content>
			<author>
				<name><![CDATA[OverFlow]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=1097</uri>
			</author>
			<updated>2008-07-24T00:06:08Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=22567#p22567</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [IMP] PreSetup.cmd - add on success/exit to drive letter search loop]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=22549#p22549"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[OverFlow]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=1097</uri>
			</author>
			<updated>2008-07-23T11:30:49Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=22549#p22549</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[[IMP] PreSetup.cmd - add on success/exit to drive letter search loop]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=22537#p22537"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[JSe]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=59</uri>
			</author>
			<updated>2008-07-23T04:41:37Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=22537#p22537</id>
		</entry>
</feed>
