<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Good old DOS</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2005/12/11/good-old-dos/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2005/12/11/good-old-dos/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 18:06:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Shikha (Handy Excel Tips)</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/12/11/good-old-dos/#comment-33488</link>
		<dc:creator>Shikha (Handy Excel Tips)</dc:creator>
		<pubDate>Wed, 09 Jul 2008 12:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1300#comment-33488</guid>
		<description>&lt;p&gt;I am using a similar command to generate a list of all files placed in a folder, check it out here:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.handyexceltips.com/2008/03/05/generating-list-of-the-contents-of-any-folder/&quot; rel=&quot;nofollow&quot;&gt;http://www.handyexceltips.com/2008/03/05/generating-list-of-the-contents-of-any-folder/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I am using a similar command to generate a list of all files placed in a folder, check it out here:</p>
<p><a href="http://www.handyexceltips.com/2008/03/05/generating-list-of-the-contents-of-any-folder/" rel="nofollow">http://www.handyexceltips.com/2008/03/05/generating-list-of-the-contents-of-any-folder/</a></p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fzz</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/12/11/good-old-dos/#comment-33484</link>
		<dc:creator>fzz</dc:creator>
		<pubDate>Wed, 09 Jul 2008 02:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1300#comment-33484</guid>
		<description>&lt;p&gt;Marcus, this isn&#039;t the best forum for help with batch files. Better to use the alt.msdos.batch.nt or microsoft.public.win2000.cmdprompt.admin newsgroups.&lt;/p&gt;
&lt;p&gt;That said, if you want to skip a given number of lines in each file but the first, you could try the following batch file.&lt;/p&gt;
&lt;p&gt;@setlocal enableextensions&lt;br&gt;
@echo off&lt;br&gt;
if &quot;%~1? == &quot;&quot; if &quot;%~2? == &quot;&quot; (&lt;br&gt;
echo usage: &quot;%~0? filemask targetfile [skiplines]&lt;br&gt;
goto :EOF&lt;br&gt;
)&lt;br&gt;
set tf=&quot;%~2?&lt;br&gt;
if exist %tf% del %tf%&lt;br&gt;
if not &quot;%~3? == &quot;&quot; set skip=+%~3&lt;br&gt;
for %%f in (&quot;%~1?) do call :PROC &quot;%%f&quot;&lt;br&gt;
goto :EOF&lt;br&gt;
:PROC&lt;br&gt;
more %skipswitch% &quot;%~1? &gt;&gt; %tf%&lt;br&gt;
set skipswitch=%skip%&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Marcus, this isn&#8217;t the best forum for help with batch files. Better to use the alt.msdos.batch.nt or microsoft.public.win2000.cmdprompt.admin newsgroups.</p>
<p>That said, if you want to skip a given number of lines in each file but the first, you could try the following batch file.</p>
<p>@setlocal enableextensions<br />
@echo off<br />
if &#8220;%~1? == &#8220;&#8221; if &#8220;%~2? == &#8220;&#8221; (<br />
echo usage: &#8220;%~0? filemask targetfile [skiplines]<br />
goto :EOF<br />
)<br />
set tf=&#8221;%~2?<br />
if exist %tf% del %tf%<br />
if not &#8220;%~3? == &#8220;&#8221; set skip=+%~3<br />
for %%f in (&#8220;%~1?) do call <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ROC &#8220;%%f&#8221;<br />
goto :EOF<br /> <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ROC<br />
more %skipswitch% &#8220;%~1? &gt;&gt; %tf%<br />
set skipswitch=%skip%</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus Christian</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/12/11/good-old-dos/#comment-33473</link>
		<dc:creator>Marcus Christian</dc:creator>
		<pubDate>Tue, 08 Jul 2008 16:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1300#comment-33473</guid>
		<description>&lt;p&gt;I have several .csv files in one folder. I have used the copy c:walley*.csv fred.csv. I need all of the merged csv files in one csv with a new name. This works fine, but the first row of each csv file are the same. I quess what I am asking is there a way to copy ranges.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I have several .csv files in one folder. I have used the copy c:walley*.csv fred.csv. I need all of the merged csv files in one csv with a new name. This works fine, but the first row of each csv file are the same. I quess what I am asking is there a way to copy ranges.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fzz</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/12/11/good-old-dos/#comment-30865</link>
		<dc:creator>fzz</dc:creator>
		<pubDate>Thu, 21 Feb 2008 22:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1300#comment-30865</guid>
		<description>&lt;p&gt;Learning by doing is best. Nothing beats participating in the alt.msdos.batch.nt newsgroup.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Learning by doing is best. Nothing beats participating in the alt.msdos.batch.nt newsgroup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gruff999</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/12/11/good-old-dos/#comment-30862</link>
		<dc:creator>gruff999</dc:creator>
		<pubDate>Thu, 21 Feb 2008 20:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1300#comment-30862</guid>
		<description>&lt;p&gt;I&#039;m a big fan of CMD.EXE under Windows XP (NT version was pretty good too). You can do some powerful stuff (and quickly) once you get round some counter-intuitive syntax issues.&lt;/p&gt;
&lt;p&gt;As an application support monkey on a domain with 3,500+ XP clients I&#039;m happy to take advantage of anything I can to make life easier.&lt;/p&gt;
&lt;p&gt;For those who want to get into CMD scripts, I recommend Tim Hill&#039;s excellent &quot;Windows NT Shell Scripting&quot;. Doesn&#039;t cover XP and above but the first couple of chapters are invaluable.&lt;/p&gt;
&lt;p&gt;I haven&#039;t found a better definitive introduction online.&lt;/p&gt;
&lt;p&gt;If I ever get my own website running I&#039;ll be posting my favourite CMD script tips.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;m a big fan of CMD.EXE under Windows XP (NT version was pretty good too). You can do some powerful stuff (and quickly) once you get round some counter-intuitive syntax issues.</p>
<p>As an application support monkey on a domain with 3,500+ XP clients I&#8217;m happy to take advantage of anything I can to make life easier.</p>
<p>For those who want to get into CMD scripts, I recommend Tim Hill&#8217;s excellent &#8220;Windows NT Shell Scripting&#8221;. Doesn&#8217;t cover XP and above but the first couple of chapters are invaluable.</p>
<p>I haven&#8217;t found a better definitive introduction online.</p>
<p>If I ever get my own website running I&#8217;ll be posting my favourite CMD script tips.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fzz</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/12/11/good-old-dos/#comment-30823</link>
		<dc:creator>fzz</dc:creator>
		<pubDate>Wed, 20 Feb 2008 02:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1300#comment-30823</guid>
		<description>&lt;p&gt;steven: not using copy. The copy command reproduces each file EXACTLY, so if any are missing newlines at the end, those lines will be missing newlines in the combined file, so the first line of the next file will continue on that line in the combined file.&lt;/p&gt;
&lt;p&gt;You&#039;d need to use a for loop calling more.&lt;/p&gt;
&lt;p&gt;(for %f in (*.csv) do @more %f) &gt; all.txt&lt;/p&gt;
&lt;p&gt;Or you could fix your CSV files.&lt;/p&gt;
&lt;p&gt;for %f in (*.csv) do echo/&gt;&gt; %f&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>steven: not using copy. The copy command reproduces each file EXACTLY, so if any are missing newlines at the end, those lines will be missing newlines in the combined file, so the first line of the next file will continue on that line in the combined file.</p>
<p>You&#8217;d need to use a for loop calling more.</p>
<p>(for %f in (*.csv) do @more %f) &gt; all.txt</p>
<p>Or you could fix your CSV files.</p>
<p>for %f in (*.csv) do echo/&gt;&gt; %f</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steven</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/12/11/good-old-dos/#comment-30819</link>
		<dc:creator>steven</dc:creator>
		<pubDate>Tue, 19 Feb 2008 22:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1300#comment-30819</guid>
		<description>&lt;p&gt;i tried the &lt;/p&gt;
&lt;p&gt;copy *.csv all.txt &lt;/p&gt;
&lt;p&gt;and it is wrapping the end of each file with the new csv file (or 2nd file rather).&lt;/p&gt;
&lt;p&gt;is there a way to have it put in a &quot;hard return&quot; at the end of each file so it keeps each record on one line rather than wrapping?&lt;/p&gt;
&lt;p&gt;thanks!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>i tried the </p>
<p>copy *.csv all.txt </p>
<p>and it is wrapping the end of each file with the new csv file (or 2nd file rather).</p>
<p>is there a way to have it put in a &#8220;hard return&#8221; at the end of each file so it keeps each record on one line rather than wrapping?</p>
<p>thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rembo</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/12/11/good-old-dos/#comment-17778</link>
		<dc:creator>Rembo</dc:creator>
		<pubDate>Thu, 15 Dec 2005 11:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1300#comment-17778</guid>
		<description>&lt;p&gt;There&#039;s also PCDOS, DRDOS etc. If it&#039;s just a commander you want, you might want to take a look at 4DOS (now free but unsupported). I&#039;ve been using that from the beginning to create &#039;magical&#039; batchfiles, with colored inputboxes etc. They were using pushd and popd before MS even heard about it. Great commander that I still use every now and then, even under Windows XP.&lt;/p&gt;
&lt;p&gt;   &lt;a href=&quot;http://www.jpsoft.com/download.html&quot; rel=&quot;nofollow&quot;&gt;http://www.jpsoft.com/download.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Rembo&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>There&#8217;s also PCDOS, DRDOS etc. If it&#8217;s just a commander you want, you might want to take a look at 4DOS (now free but unsupported). I&#8217;ve been using that from the beginning to create &#8216;magical&#8217; batchfiles, with colored inputboxes etc. They were using pushd and popd before MS even heard about it. Great commander that I still use every now and then, even under Windows XP.</p>
<p>   <a href="http://www.jpsoft.com/download.html" rel="nofollow">http://www.jpsoft.com/download.html</a></p>
<p>Rembo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jim in austin</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/12/11/good-old-dos/#comment-17773</link>
		<dc:creator>jim in austin</dc:creator>
		<pubDate>Wed, 14 Dec 2005 19:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1300#comment-17773</guid>
		<description>&lt;p&gt;Oh, and if you are REALLY feeling nostalgic about DOS, there&#039;s always:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.freedos.org/&quot; rel=&quot;nofollow&quot;&gt;http://www.freedos.org/&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Oh, and if you are REALLY feeling nostalgic about DOS, there&#8217;s always:</p>
<p><a href="http://www.freedos.org/" rel="nofollow">http://www.freedos.org/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jim in austin</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/12/11/good-old-dos/#comment-17771</link>
		<dc:creator>jim in austin</dc:creator>
		<pubDate>Wed, 14 Dec 2005 19:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1300#comment-17771</guid>
		<description>&lt;p&gt;Well, technically, if you are using cmd.exe it isn&#039;t DOS. It&#039;s the NT command line console that can be used as a less than perfectly compatible DOS emulation. The difference is only significant if you are tasked with getting old DOS programs to run under NT.&lt;/p&gt;
&lt;p&gt;In any case, I work with a *LOT* of CSV files coming from POS systems. I build flat file databases in excel with them which I then review for coding errors before copying them into Solomon. From time to time I have a use for command line tools as well. I use a variety of the gnuwin32 ports such as awk, sed and grep. The complete collection is available at:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://gnuwin32.sourceforge.net/&quot; rel=&quot;nofollow&quot;&gt;http://gnuwin32.sourceforge.net/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An interesting graphical tool for working with CSV files is the CSVed. It and some other unique and useful text tools are available for free from:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://home.hccnet.nl/s.j.francke/t2t/text2table.htm&quot; rel=&quot;nofollow&quot;&gt;http://home.hccnet.nl/s.j.francke/t2t/text2table.htm&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Well, technically, if you are using cmd.exe it isn&#8217;t DOS. It&#8217;s the NT command line console that can be used as a less than perfectly compatible DOS emulation. The difference is only significant if you are tasked with getting old DOS programs to run under NT.</p>
<p>In any case, I work with a *LOT* of CSV files coming from POS systems. I build flat file databases in excel with them which I then review for coding errors before copying them into Solomon. From time to time I have a use for command line tools as well. I use a variety of the gnuwin32 ports such as awk, sed and grep. The complete collection is available at:</p>
<p><a href="http://gnuwin32.sourceforge.net/" rel="nofollow">http://gnuwin32.sourceforge.net/</a></p>
<p>An interesting graphical tool for working with CSV files is the CSVed. It and some other unique and useful text tools are available for free from:</p>
<p><a href="http://home.hccnet.nl/s.j.francke/t2t/text2table.htm" rel="nofollow">http://home.hccnet.nl/s.j.francke/t2t/text2table.htm</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

