<?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>phaq &#187; DOS</title>
	<atom:link href="http://phaq.phunsites.net/category/faq/operating-systems/dos/feed/" rel="self" type="application/rss+xml" />
	<link>http://phaq.phunsites.net</link>
	<description>my daily IT madness</description>
	<lastBuildDate>Sun, 05 Feb 2012 21:06:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>Legacy DOS Boot Floppies</title>
		<link>http://phaq.phunsites.net/2010/12/18/legacy-dos-boot-floppies/</link>
		<comments>http://phaq.phunsites.net/2010/12/18/legacy-dos-boot-floppies/#comments</comments>
		<pubDate>Sat, 18 Dec 2010 17:11:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DOS]]></category>
		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://phaq.phunsites.net/?p=399</guid>
		<description><![CDATA[DOS never dies! So don&#8217;t the boot floppies I have these since years and made them ready for web-download in 2001 already. Now I gathered them back from my archives to put them aside to download at phunsites.net. Maybe, these are of use to others to. Here&#8217;s a short overview of the bootdisks available: MS-DOS [...]]]></description>
			<content:encoded><![CDATA[<p>DOS never dies! So don&#8217;t the boot floppies <img src='http://phaq.phunsites.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>I have these since years and made them ready for web-download in 2001 already.<br />
Now I gathered them back from my archives to put them aside to download at phunsites.net.</p>
<p>Maybe, these are of use to others to.<br />
<span id="more-399"></span><br />
Here&#8217;s a short overview of the bootdisks available:</p>
<ul>
<li><a href="http://phaq.phunsites.net/files/2010/12/msdos6.zip">MS-DOS 6.22*</a></li>
<li><a href="http://phaq.phunsites.net/files/2010/12/msdos7.zip">MS-DOS 7.0 Beta (never released)**</a></li>
<li><a href="http://phaq.phunsites.net/files/2010/12/pcdos7.zip">IBM PC-DOS 7.01*</a></li>
<li><a href="http://phaq.phunsites.net/files/2010/12/drdos7.zip">DR-DOS 7.03**</a></li>
<li><a href="http://phaq.phunsites.net/files/2010/12/win95.zip">Windows 95 4.00.950*</a></li>
<li><a href="http://phaq.phunsites.net/files/2010/12/win95b.zip">Windows 95 4.00.1212*</a></li>
<li><a href="http://phaq.phunsites.net/files/2010/12/win98.zip">Windows 98 4.10.1998*</a></li>
<li><a href="http://phaq.phunsites.net/files/2010/12/win98se.zip">Windows 95 SE 4.10.2222</a></li>
<li><a href="http://phaq.phunsites.net/files/2010/12/winme.zip">Windows ME 4.90</a></li>
</ul>
<p>Additionally, there&#8217;s the following tools available:</p>
<ul>
<li><a href="http://phaq.phunsites.net/files/2010/12/dd.zip">DOS/Windows Version of &#8216;dd&#8217;</a></li>
<li><a href="http://phaq.phunsites.net/files/2010/12/cdoderhd.zip">DOS/Windows CLI to overwrite floppy boot code; will allow to boot from HD even if the floppy is inserted</a></li>
<li><a href="http://phaq.phunsites.net/files/2010/12/cd-rom.zip">DOS CD-ROM drivers for various drives</a></li>
</ul>
<p>Maybe these can still be of value, despite floppy drives being gone and virtualization on the edge.</p>
<p><b>Disclaimer:</b> I take no liability whatsoever damage could arise out of the use of these disk images.<br />
These boot disks are provided &#8220;as is&#8221;. The copyright of the software contained on the boot disks retains to their respective copyright holder.</p>
]]></content:encoded>
			<wfw:commentRss>http://phaq.phunsites.net/2010/12/18/legacy-dos-boot-floppies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No &quot;sleep&quot; command for batch files? Make it a choice!</title>
		<link>http://phaq.phunsites.net/2007/05/05/no-sleep-command-for-batch-files-make-it-a-choice/</link>
		<comments>http://phaq.phunsites.net/2007/05/05/no-sleep-command-for-batch-files-make-it-a-choice/#comments</comments>
		<pubDate>Sat, 05 May 2007 18:35:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DOS]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://phaq.phunsites.net/2007/05/05/no-sleep-command-for-batch-files-make-it-a-choice/</guid>
		<description><![CDATA[I just trapped myself while hacking up a batch file. Used to shell scripting I wanted to add a delay to the batch using &#8220;sleep&#8221;. Dough! Bad Idea! Bad command or filename. Smash your head here to continue {(x)}! So I winded up my memories from stoneage. Wasn&#8217;t there the choice command!? Yeah, after some [...]]]></description>
			<content:encoded><![CDATA[<p>I just trapped myself while hacking up a batch file.<br />
Used to shell scripting I wanted to add a delay to the batch using &#8220;sleep&#8221;.</p>
<p>Dough! Bad Idea! Bad command or filename. Smash your head here to continue {(x)}!<br />
<span id="more-92"></span><br />
So I winded up my memories from stoneage. Wasn&#8217;t there the choice command!?</p>
<p>Yeah, after some lurking around with the &#8216;/?&#8217; feature I had stuck it together:</p>
<pre>choice /c 1 /d 1 /t 1 &gt; nul</pre>
<p>While</p>
<ul>
<li>&#8220;/c 1&#8243; sets the choice values (1 is my value)</li>
<li>&#8220;/d 1&#8243; sets the default choice value (which is 1 from above)</li>
<li>&#8220;/t 1&#8243; sets the timeout to 1 second (or whatever is appropriate)</li>
<li>&#8220;&gt; nul&#8221; means the same as &#8220;&gt;/dev/null&#8221;: send output to nirvana (notice there being only one &#8216;l&#8217; however)</li>
</ul>
<p>Of course this may be bothersome to type if you use it often, so a &#8220;batch function&#8221; may be better, especially when you need other batch tricks to get around DOS command limitations (lazy man&#8217;s approach: create a second batch file for it).</p>
<pre>
@echo off

rem *******************
rem check args
rem *******************

:checkargs

if "%1/" == "func/" goto callfunc
goto main

:_checkargs

rem *******************
rem call functions
rem *******************

:callfunc
 shift

 rem we could do "goto %1" instead
 rem if there is a lot of functions
 if "%1/" == "sleep/" goto sleep

 goto exit

:_callfunc

rem *******************
rem function sleep
rem *******************

:sleep
 shift

 choice /c 1 /d 1 /t %1 &gt; nul

 goto exit

:_sleep

rem *******************
rem main body
rem *******************

:main
 echo hello, going to sleep now
 call %0 func sleep 1

 echo sleep is over, good bye

 goto exit

:_main

rem *******************
rem exit handler
rem *******************

:exit
 rem if there is anything left to do, do it now.

:_exit</pre>
]]></content:encoded>
			<wfw:commentRss>http://phaq.phunsites.net/2007/05/05/no-sleep-command-for-batch-files-make-it-a-choice/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

