<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>alt.msdos.batch.nt Google Group</title>
  <link>http://groups.google.co.uk/group/alt.msdos.batch.nt</link>
  <description>The NT variant of MS-DOS batch files</description>
  <language>en</language>
  <item>
  <title>Re: Append %string%</title>
  <link>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/e3b73530e76904bf?show_docid=e3b73530e76904bf</link>
  <description>
  Or similarly: &lt;br&gt; @ECHO OFF &amp;amp; SETLOCAL &lt;br&gt; FOR /F &amp;quot;TOKENS=1*&amp;quot; %%# IN (&amp;quot;%*&amp;quot;) DO SET &amp;quot;TAG=%%$&amp;quot; &lt;br&gt; ECHO/[%TAG%] &lt;br&gt; PAUSE
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/e3b73530e76904bf?show_docid=e3b73530e76904bf</guid>
  <author>
  ten.nig...@virgin.net
  </author>
  <pubDate>Mon, 12 Dec 2009 11:02:36 UT
</pubDate>
  </item>
  <item>
  <title>Re: Append %string%</title>
  <link>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/26e5188d7f9ddd82?show_docid=26e5188d7f9ddd82</link>
  <description>
  @ECHO OFF &amp;amp; SETLOCAL &lt;br&gt; SET &amp;quot;#=0&amp;quot; &lt;br&gt; FOR %%# IN (%*) DO SET/A &amp;quot;#+=1&amp;quot; &lt;br&gt; ECHO/[%#%] &lt;br&gt; PAUSE
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/26e5188d7f9ddd82?show_docid=26e5188d7f9ddd82</guid>
  <author>
  ten.nig...@virgin.net
  </author>
  <pubDate>Mon, 12 Dec 2009 08:21:47 UT
</pubDate>
  </item>
  <item>
  <title>Batch file information and FAQs</title>
  <link>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f369c2599bdf553b/115880a91a403a3b?show_docid=115880a91a403a3b</link>
  <description>
  Dear new alt.msdos.batch and alt.msdos.batch.nt readers, &lt;br&gt; Before posing a question you might first wish to take a look at the &lt;br&gt; frequently asked questions in these newsgroups. &lt;br&gt; An online version of Useful NT/2000/XP batch file tricks and tips &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.netikka.net/tsneti/info/tscmd.htm&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; A FAQ collection of NT/2000/XP batch file tricks and tips
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f369c2599bdf553b/115880a91a403a3b?show_docid=115880a91a403a3b</guid>
  <author>
  t...@uwasa.fi
  (Timo Salmi)
  </author>
  <pubDate>Mon, 12 Dec 2009 04:59:00 UT
</pubDate>
  </item>
  <item>
  <title>Re: Append %string%</title>
  <link>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/4660ab63cfc3ec57?show_docid=4660ab63cfc3ec57</link>
  <description>
  Yeah, something went wrong with the copy/paste - that sometimes happens &lt;br&gt; when Pan is open. The second one should be &lt;br&gt; for /f &amp;quot;tokens=*&amp;quot; %%A in (&#39;echo %* ^| awk &amp;quot;{$1=\&amp;quot;\&amp;quot;;print $0}&amp;quot;&#39; do set &lt;br&gt; s=%%A &lt;br&gt; I had to retype that - copy/paste isn&#39;t working at all today - I&#39;ll have &lt;br&gt; to reboot.
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/4660ab63cfc3ec57?show_docid=4660ab63cfc3ec57</guid>
  <author>
  tda...@mst.edu
  (Ted Davis)
  </author>
  <pubDate>Sun, 12 Dec 2009 16:26:46 UT
</pubDate>
  </item>
  <item>
  <title>Re: Append %string%</title>
  <link>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/aa2cdfb95dd89e51?show_docid=aa2cdfb95dd89e51</link>
  <description>
  You got that right! &lt;br&gt; I have a *huge* gawk program consisting of an HTML file to process that &lt;br&gt; has embeded information that is partially extracted by the main script and &lt;br&gt; the entire line passed to the secondary script named in that data. The &lt;br&gt; result is a new HTML file consisting of a list of web comics and
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/aa2cdfb95dd89e51?show_docid=aa2cdfb95dd89e51</guid>
  <author>
  tda...@mst.edu
  (Ted Davis)
  </author>
  <pubDate>Sun, 12 Dec 2009 16:21:52 UT
</pubDate>
  </item>
  <item>
  <title>Re: Append %string%</title>
  <link>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/97ec687fccc5a7b5?show_docid=97ec687fccc5a7b5</link>
  <description>
  Good examples there Ted, appreciate your input. &lt;br&gt; As you can see below, the %TAG% variable was &lt;br&gt; what I needed to pass to (g)awk. And once inside &lt;br&gt; the awk program file, things (for me at least) &lt;br&gt; get so much easier... &lt;br&gt; Now that I have the awk program ported to Windows, &lt;br&gt; I can parse my data (snippets, phone numbers, etc...)
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/97ec687fccc5a7b5?show_docid=97ec687fccc5a7b5</guid>
  <author>
  m...@dev.null
  (mss)
  </author>
  <pubDate>Sun, 12 Dec 2009 14:08:10 UT
</pubDate>
  </item>
  <item>
  <title>Re: Append %string%</title>
  <link>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/cd0db567d07bc5a6?show_docid=cd0db567d07bc5a6</link>
  <description>
  Seems like one awk one-liner deleted to me....
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/cd0db567d07bc5a6?show_docid=cd0db567d07bc5a6</guid>
  <author>
  billious_1...@hotmail.com
  (billious)
  </author>
  <pubDate>Sun, 12 Dec 2009 05:28:11 UT
</pubDate>
  </item>
  <item>
  <title>Re: Append %string%</title>
  <link>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/7be63e5dce9c2edc?show_docid=7be63e5dce9c2edc</link>
  <description>
  As one of the few people actually mixing batch files and awk, I can offer &lt;br&gt; some advice. &lt;br&gt; Do all the text processing that you can in awk. &lt;br&gt; Use gawk as your awk interpreter. &lt;br&gt; Try to arrange the logic so that one or more awk scripts create the batch &lt;br&gt; file, rather than the batch file creating the awk script.
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/7be63e5dce9c2edc?show_docid=7be63e5dce9c2edc</guid>
  <author>
  tda...@mst.edu
  (Ted Davis)
  </author>
  <pubDate>Sun, 12 Dec 2009 02:16:37 UT
</pubDate>
  </item>
  <item>
  <title>Re: Unicode: Using With Commands in Scripts</title>
  <link>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/0d525c809d4f59d0/4583489961ec3066?show_docid=4583489961ec3066</link>
  <description>
  Yes. But not in whole. I just think that such example is &amp;quot;matrioshka&amp;quot;. &lt;br&gt; What is profit of creation of one script from another to execute it? I &lt;br&gt; was reading this news group two years. And what i am looking for? A &lt;br&gt; lot of examples refer to vbs =( &lt;br&gt; Lets echoing C# code to a file, csc.exe_ing it and run it. That is
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/0d525c809d4f59d0/4583489961ec3066?show_docid=4583489961ec3066</guid>
  <author>
  001.dmi...@gmail.com
  (01MDM)
  </author>
  <pubDate>Sat, 12 Dec 2009 20:47:39 UT
</pubDate>
  </item>
  <item>
  <title>Re: Append %string%</title>
  <link>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/a4c6c596366d4782?show_docid=a4c6c596366d4782</link>
  <description>
  Howdy Frank. Good idea. The script in question &lt;br&gt; is a unique beast... a cmd script that creates &lt;br&gt; an awk program file, sorta tough to describe... &lt;br&gt; Correct. Is there an easy to determine the number &lt;br&gt; of elements in ARGV? (err... not sure what the &lt;br&gt; proper nomenclature is with respect to cmd scripting). &lt;br&gt; Saw some nice solutions in Prof. Timo Salmi&#39;s FAQs, but
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/a4c6c596366d4782?show_docid=a4c6c596366d4782</guid>
  <author>
  m...@dev.null
  (mss)
  </author>
  <pubDate>Sat, 12 Dec 2009 19:30:11 UT
</pubDate>
  </item>
  <item>
  <title>Re: Append %string%</title>
  <link>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/87de432e9af048fe?show_docid=87de432e9af048fe</link>
  <description>
  Thanks Tom (and Ted too!) works as needed. Both of these &lt;br&gt; posts have taught me some new things. &lt;br&gt; Coming from a more unix-centric environment, main issue here &lt;br&gt; that seems to be holding me down is %%quoting%% vs. %quoting &lt;br&gt; vs. %quoting%...
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/87de432e9af048fe?show_docid=87de432e9af048fe</guid>
  <author>
  m...@dev.null
  (mss)
  </author>
  <pubDate>Sat, 12 Dec 2009 19:19:50 UT
</pubDate>
  </item>
  <item>
  <title>Re: Append %string%</title>
  <link>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/934e2c3d5dc99a6f?show_docid=934e2c3d5dc99a6f</link>
  <description>
  &amp;quot;mss&amp;quot; &lt;a target=&quot;_blank&quot; href=&quot;http://groups.google.com/groups?as_umsgid=hfe13a$5e1$1@news.albasani.net&quot;&gt;news:hfe13a$5e1$1@news.albasani.net&lt;/a&gt;... &lt;br&gt; Might it be sufficient to take the entire commandline (%*) and take off &lt;br&gt; the first portion? &lt;br&gt; Set &amp;quot;TAG=%*&amp;quot; &lt;br&gt; If &amp;quot;%~1&amp;quot;==&amp;quot;-z&amp;quot; ( &lt;br&gt; Set &amp;quot;TAG=%TAG:~3%&amp;quot; &lt;br&gt; ) Else ... &lt;br&gt; I&#39;m assuming that your limit is %9 because you just don&#39;t expect there &lt;br&gt; to be more. The above will go beyond %9.
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/934e2c3d5dc99a6f?show_docid=934e2c3d5dc99a6f</guid>
  <author>
  frank.westl...@yahoo.com
  (Frank P. Westlake)
  </author>
  <pubDate>Sat, 12 Dec 2009 18:44:54 UT
</pubDate>
  </item>
  <item>
  <title>Re: Unicode: Using With Commands in Scripts</title>
  <link>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/0d525c809d4f59d0/578c343219d194d6?show_docid=578c343219d194d6</link>
  <description>
  &amp;quot;01MDM&amp;quot; &lt;br&gt; I&#39;m not sure what you mean but I think you are just showing an example &lt;br&gt; of what you think is bad programming practice. &lt;br&gt; I agree that if a carpenter repairs a broken chair leg with tape it is &lt;br&gt; bad practice; the carpenter should replace the leg or repair it with &lt;br&gt; glue. But I am not a carpenter and I cannot afford glue, so if my chair
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/0d525c809d4f59d0/578c343219d194d6?show_docid=578c343219d194d6</guid>
  <author>
  frank.westl...@yahoo.com
  (Frank P. Westlake)
  </author>
  <pubDate>Sat, 12 Dec 2009 18:30:39 UT
</pubDate>
  </item>
  <item>
  <title>Re: Unicode: Using With Commands in Scripts</title>
  <link>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/0d525c809d4f59d0/9d975a4d1444561a?show_docid=9d975a4d1444561a</link>
  <description>
  &amp;quot;01MDM&amp;quot; &lt;br&gt; FPW &amp;gt;&amp;gt; Type utf-8.txt &lt;br&gt; Unicode output: &lt;br&gt; CHCP 65001 &amp;amp; CMD/C&amp;quot;Type utf-8.txt&amp;quot; &amp;amp; CHCP 437 &lt;br&gt; ASCII output: &lt;br&gt; CHCP 65001 &amp;amp; (For /F &amp;quot;delims=&amp;quot; %%a in ( &lt;br&gt; &#39;Type utf-8.txt&#39; &lt;br&gt; ) Do Echo.%%a) &amp;amp; CHCP 437 &lt;br&gt; ASCII output: &lt;br&gt; (For /F &amp;quot;delims=&amp;quot; %%a in ( &lt;br&gt; &#39;CHCP 65001 ^&amp;amp; Type utf-8.txt&#39; &lt;br&gt; ) Do Echo.%%a) &amp;amp; CHCP 437
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/0d525c809d4f59d0/9d975a4d1444561a?show_docid=9d975a4d1444561a</guid>
  <author>
  frank.westl...@yahoo.com
  (Frank P. Westlake)
  </author>
  <pubDate>Sat, 12 Dec 2009 17:59:48 UT
</pubDate>
  </item>
  <item>
  <title>Re: Append %string%</title>
  <link>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/d5c5524d2e74fbe9?show_docid=d5c5524d2e74fbe9</link>
  <description>
  The &#39;easiest&#39; way is probably ... &lt;br&gt; for %%x in (%2 %3 %4 %5 %6 %7 %8 %9) do ( &lt;br&gt; if not [%%x]==[] CALL set TAG=%%TAG%% %%x &lt;br&gt; ) &lt;br&gt; The documented way (see SET /? and SETLOCAL /? for more info) is ... &lt;br&gt; setlocal enabledelayedexpansion &lt;br&gt; for %%x in (%2 %3 %4 %5 %6 %7 %8 %9) do ( &lt;br&gt; if not [%%x]==[] set TAG=!TAG! %%x
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/d5c5524d2e74fbe9?show_docid=d5c5524d2e74fbe9</guid>
  <author>
  tlave...@gmail.com
  (Tom Lavedas)
  </author>
  <pubDate>Sat, 12 Dec 2009 17:19:37 UT
</pubDate>
  </item>
  </channel>
</rss>
