<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.co.uk/group/alt.msdos.batch.nt</id>
  <title type="text">alt.msdos.batch.nt Google Group</title>
  <subtitle type="text">
  The NT variant of MS-DOS batch files
  </subtitle>
  <link href="/group/alt.msdos.batch.nt/feed/atom_v1_0_msgs.xml" rel="self" title="alt.msdos.batch.nt feed"/>
  <updated>2009-12-05T20:47:39Z</updated>
  <generator uri="http://groups.google.co.uk" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>01MDM</name>
  <email>001.dmi...@gmail.com</email>
  </author>
  <updated>2009-12-05T20:47:39Z</updated>
  <id>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/0d525c809d4f59d0/4583489961ec3066?show_docid=4583489961ec3066</id>
  <link href="http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/0d525c809d4f59d0/4583489961ec3066?show_docid=4583489961ec3066"/>
  <title type="text">Re: Unicode: Using With Commands in Scripts</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>mss</name>
  <email>m...@dev.null</email>
  </author>
  <updated>2009-12-05T19:30:11Z</updated>
  <id>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/a4c6c596366d4782?show_docid=a4c6c596366d4782</id>
  <link href="http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/a4c6c596366d4782?show_docid=a4c6c596366d4782"/>
  <title type="text">Re: Append %string%</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>mss</name>
  <email>m...@dev.null</email>
  </author>
  <updated>2009-12-05T19:19:50Z</updated>
  <id>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/87de432e9af048fe?show_docid=87de432e9af048fe</id>
  <link href="http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/87de432e9af048fe?show_docid=87de432e9af048fe"/>
  <title type="text">Re: Append %string%</title>
  <summary type="html" xml:space="preserve">
  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%...
  </summary>
  </entry>
  <entry>
  <author>
  <name>Frank P. Westlake</name>
  <email>frank.westl...@yahoo.com</email>
  </author>
  <updated>2009-12-05T18:44:54Z</updated>
  <id>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/934e2c3d5dc99a6f?show_docid=934e2c3d5dc99a6f</id>
  <link href="http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/934e2c3d5dc99a6f?show_docid=934e2c3d5dc99a6f"/>
  <title type="text">Re: Append %string%</title>
  <summary type="html" xml:space="preserve">
  &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.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Frank P. Westlake</name>
  <email>frank.westl...@yahoo.com</email>
  </author>
  <updated>2009-12-05T18:30:39Z</updated>
  <id>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/0d525c809d4f59d0/578c343219d194d6?show_docid=578c343219d194d6</id>
  <link href="http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/0d525c809d4f59d0/578c343219d194d6?show_docid=578c343219d194d6"/>
  <title type="text">Re: Unicode: Using With Commands in Scripts</title>
  <summary type="html" xml:space="preserve">
  &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
  </summary>
  </entry>
  <entry>
  <author>
  <name>Frank P. Westlake</name>
  <email>frank.westl...@yahoo.com</email>
  </author>
  <updated>2009-12-05T17:59:48Z</updated>
  <id>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/0d525c809d4f59d0/9d975a4d1444561a?show_docid=9d975a4d1444561a</id>
  <link href="http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/0d525c809d4f59d0/9d975a4d1444561a?show_docid=9d975a4d1444561a"/>
  <title type="text">Re: Unicode: Using With Commands in Scripts</title>
  <summary type="html" xml:space="preserve">
  &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
  </summary>
  </entry>
  <entry>
  <author>
  <name>Tom Lavedas</name>
  <email>tlave...@gmail.com</email>
  </author>
  <updated>2009-12-05T17:19:37Z</updated>
  <id>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/d5c5524d2e74fbe9?show_docid=d5c5524d2e74fbe9</id>
  <link href="http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/d5c5524d2e74fbe9?show_docid=d5c5524d2e74fbe9"/>
  <title type="text">Re: Append %string%</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>mss</name>
  <email>m...@dev.null</email>
  </author>
  <updated>2009-12-05T16:17:46Z</updated>
  <id>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/e13fc97e7fb1e565?show_docid=e13fc97e7fb1e565</id>
  <link href="http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/e13fc97e7fb1e565?show_docid=e13fc97e7fb1e565"/>
  <title type="text">Re: Append %string%</title>
  <summary type="html" xml:space="preserve">
  In this case I need to start at %2, and end at %9... &lt;br&gt; %1 = a switch ie &#39;-z&#39; &lt;br&gt; and... &lt;br&gt; %2 = the argument for the switch -z (may contain spaces) &#39;foo1 foo2 ...&#39; &lt;br&gt; my_script.cmd -z %2 to %9
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ted Davis</name>
  <email>tda...@mst.edu</email>
  </author>
  <updated>2009-12-05T16:08:12Z</updated>
  <id>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/080ff2a41f0058f8?show_docid=080ff2a41f0058f8</id>
  <link href="http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/080ff2a41f0058f8?show_docid=080ff2a41f0058f8"/>
  <title type="text">Re: Append %string%</title>
  <summary type="html" xml:space="preserve">
  If you are trying to set TAG to the argument string, then &lt;br&gt; set TAG=%* &lt;br&gt; should do. &lt;br&gt; -- &lt;br&gt; &lt;p&gt;T.E.D. (tda...@mst.edu)
  </summary>
  </entry>
  <entry>
  <author>
  <name>01MDM</name>
  <email>001.dmi...@gmail.com</email>
  </author>
  <updated>2009-12-05T15:56:41Z</updated>
  <id>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/0d525c809d4f59d0/8cdd18e80005e9f3?show_docid=8cdd18e80005e9f3</id>
  <link href="http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/0d525c809d4f59d0/8cdd18e80005e9f3?show_docid=8cdd18e80005e9f3"/>
  <title type="text">Re: Unicode: Using With Commands in Scripts</title>
  <summary type="html" xml:space="preserve">
  It does not do any troubles. But how do it in the for-circle? &amp;quot;For&amp;quot; &lt;br&gt; kills all of our text-operations.
  </summary>
  </entry>
  <entry>
  <author>
  <name>01MDM</name>
  <email>001.dmi...@gmail.com</email>
  </author>
  <updated>2009-12-05T15:47:05Z</updated>
  <id>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/0d525c809d4f59d0/51833f4e9ba31cf0?show_docid=51833f4e9ba31cf0</id>
  <link href="http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/0d525c809d4f59d0/51833f4e9ba31cf0?show_docid=51833f4e9ba31cf0"/>
  <title type="text">Re: Unicode: Using With Commands in Scripts</title>
  <summary type="html" xml:space="preserve">
  I apologise for the answers. You wanted as better. But not all &lt;br&gt; probably to make in cmd. I cannot state completely the point of view &lt;br&gt; in English. I simply consider wrong designs like the such: &lt;br&gt; @echo off &lt;br&gt; 1&amp;gt;tmp.vbs ( &lt;br&gt; Echoing vbs code here &lt;br&gt; ) &lt;br&gt; cscript tmp.vbs &lt;br&gt; del tmp.vbs
  </summary>
  </entry>
  <entry>
  <author>
  <name>mss</name>
  <email>m...@dev.null</email>
  </author>
  <updated>2009-12-05T15:31:16Z</updated>
  <id>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/c212a8f9a66a79c6?show_docid=c212a8f9a66a79c6</id>
  <link href="http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/f269731603c82bd6/c212a8f9a66a79c6?show_docid=c212a8f9a66a79c6"/>
  <title type="text">Append %string%</title>
  <summary type="html" xml:space="preserve">
  currently using: &lt;br&gt; set TAG= &lt;br&gt; if not [%2]==[] (set TAG=%2) else (goto :exe) &lt;br&gt; if not [%3]==[] (set TAG=%TAG% %3) else (goto :exe) &lt;br&gt; if not [%4]==[] (set TAG=%TAG% %4) else (goto :exe) &lt;br&gt; ... &lt;br&gt; would rather use something like: &lt;br&gt; set TAG= &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
  </summary>
  </entry>
  <entry>
  <author>
  <name>Frank P. Westlake</name>
  <email>frank.westl...@yahoo.com</email>
  </author>
  <updated>2009-12-05T14:44:43Z</updated>
  <id>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/0d525c809d4f59d0/0177fc2e075af3e9?show_docid=0177fc2e075af3e9</id>
  <link href="http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/0d525c809d4f59d0/0177fc2e075af3e9?show_docid=0177fc2e075af3e9"/>
  <title type="text">Re: Unicode: Using With Commands in Scripts</title>
  <summary type="html" xml:space="preserve">
  &amp;quot;01MDM&amp;quot; &lt;br&gt; FPW &amp;gt;&amp;gt; But I would like to know why you can use 65001 in a script &lt;br&gt; &amp;gt;&amp;gt; and I cannot. &lt;br&gt; &amp;gt;&amp;gt; I wonder if it is related to the default language on my machine &lt;br&gt; &amp;gt;&amp;gt; being English. &lt;br&gt; I remembered inncorrectly. In addition to what I stated before to use &lt;br&gt; CP65001 and (CP65000) in a script (all must be on same line), I must
  </summary>
  </entry>
  <entry>
  <author>
  <name>Frank P. Westlake</name>
  <email>frank.westl...@yahoo.com</email>
  </author>
  <updated>2009-12-05T14:20:32Z</updated>
  <id>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/bf9655eb2e7cf56b/742420cd9ed1fc7d?show_docid=742420cd9ed1fc7d</id>
  <link href="http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/bf9655eb2e7cf56b/742420cd9ed1fc7d?show_docid=742420cd9ed1fc7d"/>
  <title type="text">Re: WOW64</title>
  <summary type="html" xml:space="preserve">
  &amp;quot;FileGod&amp;quot; &lt;a target=&quot;_blank&quot; href=&quot;http://groups.google.com/groups?as_umsgid=hfcjkq$2n1j$1@adenine.netfront.net&quot;&gt;news:hfcjkq$2n1j$1@adenine.netfront.net&lt;/a&gt;... &lt;br&gt; I don&#39;t have it either. &lt;br&gt; WOW64 is part of the Windows OS. Before the 64-bit OS it was another &lt;br&gt; WOW -- WOW32 I think. It is not an emulator which will host DOS. It is &lt;br&gt; the system&#39;s method of running DOS applications on the system. In it&#39;s &lt;br&gt; earlier version (WOW32?) it has been part of the OS at least since NT4.0
  </summary>
  </entry>
  <entry>
  <author>
  <name>FileGod</name>
  <email>0...@0.0</email>
  </author>
  <updated>2009-12-05T03:22:03Z</updated>
  <id>http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/bf9655eb2e7cf56b/939b478a88348ff6?show_docid=939b478a88348ff6</id>
  <link href="http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_frm/thread/bf9655eb2e7cf56b/939b478a88348ff6?show_docid=939b478a88348ff6"/>
  <title type="text">Re: WOW64</title>
  <summary type="html" xml:space="preserve">
  I am sorry I misssed the original post, I never heard of WOW64, I will have &lt;br&gt; to check it out!, we did post about emulators before but MobaLiveCD has been &lt;br&gt; updated to MobaLiveCD 2.1, it will even let you run DOS 6.22 Boot Disk images, &lt;br&gt; it is handy to test any image you want to test before you burn a disk...
  </summary>
  </entry>
</feed>
