<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>MS-DOS Forum RSS Feed (Replies Included)</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the 'MS-DOS' forum at Programmer's Heaven, including replies.</description>
    <language>en</language>
    <copyright>Copyright 2009 Programmers Heaven</copyright>
    <pubDate>Fri, 20 Nov 2009 20:25:08 -0700</pubDate>
    <lastBuildDate>Fri, 20 Nov 2009 20:25:08 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>detecting hard disks?</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/409209/409209/detecting-hard-disks/</link>
      <description>How do i detect installed hard drives&lt;br /&gt;
on the computer?&lt;br /&gt;
Is there a bios call to do this?&lt;br /&gt;
Also how is this done from windiws api?&lt;br /&gt;
Thanks. &lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/409209/409209/detecting-hard-disks/</guid>
      <pubDate>Fri, 13 Nov 2009 02:17:46 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Re: DOS batch FOR with () files</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/397204/401702/re-dos-batch-for-with--files/#401702</link>
      <description>For looping thru files, consider using the &lt;strong&gt;FILE-DIRECTORY-LOOP&lt;/strong&gt; described at &lt;a href="http://www.biterscripting.com/LearningScripting/Lesson4.html"&gt;http://www.biterscripting.com/LearningScripting/Lesson4.html&lt;/a&gt; (Section: 4.1. FILE DIRECTORY LOOP ). You may be able to achieve more control that way.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/397204/401702/re-dos-batch-for-with--files/#401702</guid>
      <pubDate>Fri, 02 Oct 2009 07:48:52 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>( WWW.Sneakers2World.COM ) Grey Ugg Boots 5815 Classic Tall outlet</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/398582/398582/-wwwsneakers2worldcom--grey-ugg-boots-5815-classic-tall-outlet/</link>
      <description>( WWW.Sneakers2World.COM ) Grey Ugg Boots 5815 Classic Tall outlet&lt;br /&gt;
&lt;br /&gt;
( WWW.Sneakers2World.COM ) Black Ugg Boots 5815 Classic Tall china distributor&lt;br /&gt;
&lt;br /&gt;
( WWW.Sneakers2World.COM ) discount Sand Ugg Boots 5815 Classic Tall on sale&lt;br /&gt;
&lt;br /&gt;
( WWW.Sneakers2World.COM ) Chocolate Ugg Boots 5815 Classic Tall made in china &lt;br /&gt;
&lt;br /&gt;
( WWW.Sneakers2World.COM ) buy wholesale price Chestnut Ugg Boots 5815 Classic Tall&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/398582/398582/-wwwsneakers2worldcom--grey-ugg-boots-5815-classic-tall-outlet/</guid>
      <pubDate>Sat, 19 Sep 2009 02:21:33 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>( WWW.Sneakers2World.COM ) sand Ugg Boots 5825 Classic Short</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/398581/398581/-wwwsneakers2worldcom--sand-ugg-boots-5825-classic-short/</link>
      <description>( WWW.Sneakers2World.COM ) Black Ugg Boots 5825 Classic Short&lt;br /&gt;
&lt;br /&gt;
( WWW.Sneakers2World.COM ) sand Ugg Boots 5825 Classic Short&lt;br /&gt;
&lt;br /&gt;
( WWW.Sneakers2World.COM ) Chocolate Ugg Boots 5825 Classic Short&lt;br /&gt;
&lt;br /&gt;
( WWW.Sneakers2World.COM ) Grey Ugg Boots 5825 Classic Short&lt;br /&gt;
&lt;br /&gt;
( WWW.Sneakers2World.COM ) leopard Ugg Boots 5825 Classic Short&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/398581/398581/-wwwsneakers2worldcom--sand-ugg-boots-5825-classic-short/</guid>
      <pubDate>Sat, 19 Sep 2009 02:20:41 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>( WWW.Sneakers2World.COM ) Soft Gold UGG 5842 Womens Metallic Classic</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/398580/398580/-wwwsneakers2worldcom--soft-gold-ugg-5842-womens-metallic-classic/</link>
      <description>( WWW.Sneakers2World.COM ) Ugg Women's Classic Short Boot  - Metallic for women, girls - Free Shipping on Uggs&lt;br /&gt;
&lt;br /&gt;
( WWW.Sneakers2World.COM ) UGG Classic Short Boot Metallic, UGG Metallic, UGG Metallic Short, UGG Silver Boot, UGG Soft Gold Boot, Uggs Short Boot Metallic&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
( WWW.Sneakers2World.COM ) Ugg Women's Classic Metallic Short Boot  for women, girls. Free Shipping and Free Gift Wrap.  Hot new metallic colors make these UGG short boots a fashion must have&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
( WWW.Sneakers2World.COM ) Soft Gold UGG 5842 Womens Metallic Classic Short Boot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/398580/398580/-wwwsneakers2worldcom--soft-gold-ugg-5842-womens-metallic-classic/</guid>
      <pubDate>Sat, 19 Sep 2009 02:19:53 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>( WWW.Sneakers2World.COM ) UGG Women's Classic Tall Romantic Flower Bo</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/398579/398579/-wwwsneakers2worldcom--ugg-womens-classic-tall-romantic-flower-bo/</link>
      <description>( WWW.Sneakers2World.COM ) UGG Women's Classic Tall Romantic Flower Boot for Women, Girls - Free Shipping on Uggs&lt;br /&gt;
&lt;br /&gt;
( WWW.Sneakers2World.COM ) UGG Flower Boot, UGG Romantic Flower Tall Boot, UGG Pink Boot&lt;br /&gt;
&lt;br /&gt;
( WWW.Sneakers2World.COM ) UGG Women's Classic Tall Romantic Flower Boot has taken a traditional UGG favorite and added a fashion twist, a pink flower patterned exterior. Free Shipping and Free Gift Wrap. Click or call for colors and sizes.&lt;br /&gt;
&lt;br /&gt;
( WWW.Sneakers2World.COM ) Ugg 5802 Women's Classic Tall Romantic Flower Boot,  Free Shipping and Free Gift Wrap. Click or call for colors and sizes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/398579/398579/-wwwsneakers2worldcom--ugg-womens-classic-tall-romantic-flower-bo/</guid>
      <pubDate>Sat, 19 Sep 2009 02:19:06 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>( WWW.Sneakers2World.COM ) Nike Air Max Tailwind 92 Trainers</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/398578/398578/-wwwsneakers2worldcom--nike-air-max-tailwind-92-trainers/</link>
      <description>( WWW.Sneakers2World.COM ) Nike Air Max Tailwind 92 Trainers &lt;br /&gt;
&lt;br /&gt;
( WWW.Sneakers2World.COM ) Nike Air Max Tailwind 92 series, Nike Air Max Tailwind 92 sneakers&lt;br /&gt;
&lt;br /&gt;
( WWW.Sneakers2World.COM ) Nike Air Max Tailwind 92 Trainers, Nike Air Max Tailwind 92 series, Nike Air Max Tailwind 92 sneakers &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
( WWW.Sneakers2World.COM ) We offer Nike Air Max Tailwind 92 wholesale at competitive price, A place to be your best business choice in the Nike Air Max Tailwind 92 wholesale&lt;br /&gt;
&lt;br /&gt;
( WWW.Sneakers2World.COM ) Newest Nike Air Max Tailwind 92 Running Shoes for Sell,We only sell the good quality Nike Air Max Tailwind 92 and the ( WWW.Sneakers2World.COM ) cheap Nike Air Max Tailwind 92 Sneakers, Free Shipping, Fast delivery!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/398578/398578/-wwwsneakers2worldcom--nike-air-max-tailwind-92-trainers/</guid>
      <pubDate>Sat, 19 Sep 2009 02:18:13 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>( WWW.Sneakers2World.COM ) Nike Air Structure Triax 91 Neon Turquoise</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/398577/398577/-wwwsneakers2worldcom--nike-air-structure-triax-91-neon-turquoise/</link>
      <description>( WWW.Sneakers2World.COM ) Nike Air Structure Triax 91, cheap Air Structure Triax 91 running Shoes&lt;br /&gt;
&lt;br /&gt;
( WWW.Sneakers2World.COM ) Discount Air Structure Triax 91 Retro Men's trainers&lt;br /&gt;
&lt;br /&gt;
Nike Air Structure / Nike Air Structure Triax 91 "Infrared" First released back in 1990, the Nike Air Structure Triax 91 immediately became an iconic shoe.&lt;br /&gt;
&lt;br /&gt;
( WWW.Sneakers2World.COM ) Nike Air Structure Triax 91 Neon Turquoise&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/398577/398577/-wwwsneakers2worldcom--nike-air-structure-triax-91-neon-turquoise/</guid>
      <pubDate>Sat, 19 Sep 2009 02:17:28 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>DOS batch FOR with () files</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/397204/397204/dos-batch-for-with--files/</link>
      <description>I am a computer dilettante burdened with VISTA64; please be gentle:&lt;br /&gt;
&lt;br /&gt;
For /F "tokens=*" %%a IN ('"dir /-c "%filename%" | find "bytes" | find /v "free""') do @Set summaryout=%%a&lt;br /&gt;
&lt;br /&gt;
This line sets up a summary that is further used to identify the file name.  It works fine until it encounters a file name containing "()" which it will not recognize and responds with the disappointing statement, ".....was unexpected at this time,"  which is on a par with "Not tonight, hon."  At the command prompt the DIR command does return the data for files containing brackets, but not in this command in the batch file.  Any help or insight would be appreciated.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/397204/397204/dos-batch-for-with--files/</guid>
      <pubDate>Fri, 11 Sep 2009 17:36:59 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Re: unable to set variable in DOS batch file</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/395581/395741/re-unable-to-set-variable-in-dos-batch-file/#395741</link>
      <description>I think I will have to provide more details to make things clear. &lt;br /&gt;
&lt;br /&gt;
I am using &lt;a href="http://izpack.org/features/"&gt;IzPack Installer&lt;/a&gt;, which is used to package and install java applications on any target computer. Its just a software that helps on distribute custom java applications.&lt;br /&gt;
&lt;br /&gt;
When using Izpack, Izpack has its own set of &lt;a href="http://izpack.org/documentation/installation-files.html#variable-substitution"&gt;variables&lt;/a&gt; (or even user defined) which can be used in any file that is marked as parsable. At run time, these variables will be substituted with actual values by the Izpack parsing system. These variables are referred by syntax $VARIABLE ($ sign prefixing the variable name). Note that it has got nothing to do with the unix/linux variables&lt;br /&gt;
&lt;br /&gt;
So in my case I have a DOS batch file (createDB.bat) marked as parsable,which contains $MYSQL_PATH as an Izpack variable. Now at run time, before the batch file is run, the Iapack variable substitution system, parses the $MYSQL_PATH variable and replaces it with actual value(for example "C:\temp"). I don't know what value is substituted when $MYSQL_PATH is empty.&lt;br /&gt;
&lt;br /&gt;
I said earlier that things worked because, I didn't test it exhaustively. I had to decide what code to execute depending on whether $MYSQL_PATH is empty or has some value. I tested it for empty but not if it had some value. Thus I had a false impression that everything worked well.&lt;br /&gt;
&lt;br /&gt;
Anyway you have helped me out to solve half the problem. Thanks a lot for that. I hope you have a fair idea of what I am trying to achieve&lt;br /&gt;
&lt;br /&gt;
regards,&lt;br /&gt;
nirvan.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/395581/395741/re-unable-to-set-variable-in-dos-batch-file/#395741</guid>
      <pubDate>Tue, 25 Aug 2009 06:50:30 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Re: unable to set variable in DOS batch file</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/395581/395718/re-unable-to-set-variable-in-dos-batch-file/#395718</link>
      <description>There are two practical ways to pass variables to batch files, either by parameters(%1, %2) or by environment variables(%PATH%, etc.), which is what you seem to be doing. In linux scripts and several programming languages(Perl, PHP), variables are referred to with the $ prefix. In batch files(.bat), variables are referred to by double percent signs and the dollar sign has a completely different meaning.&lt;br /&gt;
&lt;br /&gt;
What's confusing is you're saying it's a DOS batch file. I don't know if you're confusing it for a linux shell script or a windows batch script, but what I know is that there is no MySQL for DOS. You said using dollar signs around MYSQL_PATH fixed the first problem, so why does that suddenly not work now?</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/395581/395718/re-unable-to-set-variable-in-dos-batch-file/#395718</guid>
      <pubDate>Tue, 25 Aug 2009 02:41:05 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Re: unable to set variable in DOS batch file</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/395581/395713/re-unable-to-set-variable-in-dos-batch-file/#395713</link>
      <description>I think you have got me wrong. I said in my first post that $MYSQL_PATH is an external variable (not belonging to dos). Before my dos batch file is executed this variable is parsed and replaced by some value. So when the dos batch file runs, $MYSQL_PATH either contains some value (for example "C:\Temp") or is null. I am not sure what it contains when its null. So I can't use %MYSQL_PATH% as you have pointed out because its not a dos variable. I think I will have to find out what it is when it is null.&lt;br /&gt;
&lt;br /&gt;
regards,&lt;br /&gt;
nirvan.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/395581/395713/re-unable-to-set-variable-in-dos-batch-file/#395713</guid>
      <pubDate>Tue, 25 Aug 2009 01:59:22 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Re: unable to set variable in DOS batch file</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/395581/395631/re-unable-to-set-variable-in-dos-batch-file/#395631</link>
      <description>There a few different ways to do this:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
if defined MYSQL_PATH goto isdefined

&lt;span style="color: Grey;"&gt;or:&lt;/span&gt;
set MPATH=%MYSQL_PATH%
if defined MPATH goto isdefined

&lt;span style="color: Grey;"&gt;or:&lt;/span&gt;
set MPATH=%MYSQL_PATH%
if not "%MPATH%"=="" goto isdefined
&lt;/pre&gt;&lt;br /&gt;
If MYSQL_PATH isn't defined, then "set MPATH=%MYSQL_PATH%" is equivalent to "set MPATH=", which undefines MPATH.&lt;br /&gt;
&lt;br /&gt;
One other thing. Although the principles are the same, a Windows command prompt is not a DOS command prompt.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/395581/395631/re-unable-to-set-variable-in-dos-batch-file/#395631</guid>
      <pubDate>Mon, 24 Aug 2009 02:24:24 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Re: unable to set variable in DOS batch file</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/395581/395623/re-unable-to-set-variable-in-dos-batch-file/#395623</link>
      <description>Thanks for the reply. That solved my problem. But another problem popped up. Its possible that $MYSQL_PATH won't be defined. So I have to check whether MPATH is empty (null) or not. How do I do that in dos.&lt;br /&gt;
&lt;br /&gt;
regards,&lt;br /&gt;
nirvan.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/395581/395623/re-unable-to-set-variable-in-dos-batch-file/#395623</guid>
      <pubDate>Sun, 23 Aug 2009 21:39:54 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Re: unable to set variable in DOS batch file</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/395581/395622/re-unable-to-set-variable-in-dos-batch-file/#395622</link>
      <description>Thanks for the reply. That solved my problem. But another problem popped up. Its possible that $MYSQL_PATH won't be defined. So I have to check whether MPATH is empty (null) or not. How do I do that in dos.&lt;br /&gt;
&lt;br /&gt;
regards,&lt;br /&gt;
nirvan.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/395581/395622/re-unable-to-set-variable-in-dos-batch-file/#395622</guid>
      <pubDate>Sun, 23 Aug 2009 21:38:39 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Re: unable to set variable in DOS batch file</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/395581/395595/re-unable-to-set-variable-in-dos-batch-file/#395595</link>
      <description>Use percent signs to refer to variables and don't put spaces next to the equal sign:&lt;br /&gt;
set MPATH=%MYSQL_PATH%&lt;br /&gt;
&lt;br /&gt;
Then you can use echo "%MPATH%" or echo %MPATH% to print it.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/395581/395595/re-unable-to-set-variable-in-dos-batch-file/#395595</guid>
      <pubDate>Sun, 23 Aug 2009 06:01:53 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>unable to set variable in DOS batch file</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/395581/395581/unable-to-set-variable-in-dos-batch-file/</link>
      <description>I am trying to set a DOS variable like this.&lt;br /&gt;
&lt;br /&gt;
set MPATH = "$MYSQL_PATH"&lt;br /&gt;
&lt;br /&gt;
Here $MYSQL_PATH comes from a different context. The problem is that the variable MPATH never gets set. If I say echo "$MYSQL_PATH", then it properly prints the value contained in $MYSQL_PATH. But when I use echo "%MPATH%" nothing gets printed. Why am I not able to assign the value to MPATH when there is value in $MYSQL_PATH.&lt;br /&gt;
&lt;br /&gt;
regards,&lt;br /&gt;
nirvan</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/395581/395581/unable-to-set-variable-in-dos-batch-file/</guid>
      <pubDate>Sat, 22 Aug 2009 15:11:51 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Re: start /wait does not wait for process to finish</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/395472/395491/re-start-wait-does-not-wait-for-process-to-finish/#395491</link>
      <description>I know that in XP (not sure about vista) DOS does not support the wait function on 32-bit win apps, only on 16-bit, so you'll have to find a workaround. My suggestion would be to create a loop to see if any new files are created after running MySQL and use that as the trigger, or if running MySQL uses up specific ports you could use the net send command to see once they have finished using them. Hopefully you can think of a better method. Hope this helps, Dai. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
------------------------------------------&lt;br /&gt;
Do or do not, there is no try.  |&lt;br /&gt;
------------------------------------------</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/395472/395491/re-start-wait-does-not-wait-for-process-to-finish/#395491</guid>
      <pubDate>Fri, 21 Aug 2009 11:51:04 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>start /wait does not wait for process to finish</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/395472/395472/start-wait-does-not-wait-for-process-to-finish/</link>
      <description>I am having a batch file which installs mysql and other addon's. I start the installation with start /wait command for MYSQL.exe as given below.&lt;br /&gt;
&lt;br /&gt;
start /wait $INSTALL_PATH/Temp1/Server/MYSQL.exe&lt;br /&gt;
echo done&lt;br /&gt;
&lt;br /&gt;
The problem is that the processing does not wait for the MYSQL.exe to complete. So in the above code the line "echo done" gets executed before the line "start /wait $INSTALL_PATH/Temp1/Server/MYSQL.exe" has finished installation of MYSQL.&lt;br /&gt;
&lt;br /&gt;
regards,&lt;br /&gt;
nirvan.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/395472/395472/start-wait-does-not-wait-for-process-to-finish/</guid>
      <pubDate>Fri, 21 Aug 2009 06:30:43 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>save as from the command line</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/395340/395340/save-as-from-the-command-line/</link>
      <description>Is there a way to do the equivalent of Open/Save from the command line. I have an application that outputs csv files from SQL, but when I import them to another application they are not recognised. However if I open the file, and then click save (not Save AS) it is recognised. But I need to be able to automate the process.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/395340/395340/save-as-from-the-command-line/</guid>
      <pubDate>Wed, 19 Aug 2009 06:52:23 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Re: Help with Windows Command line FTP....</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/391895/395259/re-help-with-windows-command-line-ftp/#395259</link>
      <description>Thanks for the help.  There were other issues with the "Windows Firewall" but when I simply turned off "Windows Firewall" it worked immediately so your suggestion was absolutely correct.  Many thanks for the help!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/391895/395259/re-help-with-windows-command-line-ftp/#395259</guid>
      <pubDate>Mon, 17 Aug 2009 16:47:56 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>change system date using DOS for a different machine</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/395027/395027/change-system-date-using-dos-for-a-different-machine/</link>
      <description>HI&lt;br /&gt;
&lt;br /&gt;
Can i change the date of Machine 1 using DOS of Machine 2.&lt;br /&gt;
On both the machine the logged in user is the admnistrator&lt;br /&gt;
how can this be done???&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/395027/395027/change-system-date-using-dos-for-a-different-machine/</guid>
      <pubDate>Wed, 12 Aug 2009 14:58:39 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Re: Help with Windows Command line FTP....</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/391895/394929/re-help-with-windows-command-line-ftp/#394929</link>
      <description>Hi.&lt;br /&gt;
&lt;br /&gt;
Solution is quite simple. My server is in dutch so I don't know the exact translation of the steps.&lt;br /&gt;
&lt;br /&gt;
Your windows firewall blocks the ftp program. Goto Windows firewall, change configuration. &lt;br /&gt;
Go to exceptions tab.&lt;br /&gt;
Check 'Display warnings'. &lt;br /&gt;
Choose apply.&lt;br /&gt;
&lt;br /&gt;
When you launch the dos ftp you will get a warning message. Choose 'unblock' ftp.&lt;br /&gt;
&lt;br /&gt;
Now everything works fine. &lt;br /&gt;
&lt;br /&gt;
Greetz,&lt;br /&gt;
&lt;br /&gt;
Mark Stulens&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/391895/394929/re-help-with-windows-command-line-ftp/#394929</guid>
      <pubDate>Tue, 11 Aug 2009 00:40:18 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>In mY mInd, I mUsT rEaD, vOrTeX</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/85949/394382/in-my-mind-i-must-read-vortex/#394382</link>
      <description>Hello newbies,&lt;br /&gt;
a house full of toxic waste...&lt;br /&gt;
Give me convenience or give me death!&lt;br /&gt;
&lt;br /&gt;
A virus is a program file infector, it is either resident &lt;br /&gt;
(captures INT 21h vector) or non-resident (uses findfirst findnext).&lt;br /&gt;
To be able to construct a binary image which could tag itself&lt;br /&gt;
to the end of executables it must be coded in assembly,&lt;br /&gt;
for changing its offset in the binary image will change&lt;br /&gt;
the offsets of its variables.&lt;br /&gt;
There is a technique around this.&lt;br /&gt;
&lt;br /&gt;
To get the difference to calculate&lt;br /&gt;
the offsets of your variables do this:&lt;br /&gt;
call mytrick&lt;br /&gt;
mytrick:&lt;br /&gt;
pop bp&lt;br /&gt;
sub bp,offset mytrick&lt;br /&gt;
&lt;br /&gt;
Then to access your variables:&lt;br /&gt;
mov dx,[bp+offset var]&lt;br /&gt;
&lt;br /&gt;
Simply encode a 3-byte near jmp instruction using as a displacement&lt;br /&gt;
the unsigned size of the host file in bytes.&lt;br /&gt;
Copy the first three bytes of the binary image (*.com) and replace it&lt;br /&gt;
with your jump at 100h and place the virii code at the end of the&lt;br /&gt;
host binary image.&lt;br /&gt;
&lt;br /&gt;
More complex viruses can be created that interpret the .EXE file header.&lt;br /&gt;
&lt;br /&gt;
Making your virus polymorphic:&lt;br /&gt;
Simple! Decrypt your encrypted code with a known key, execute,&lt;br /&gt;
generate a new key, store the new key in your programs data area,&lt;br /&gt;
re-encrypt the decrypted portion,write new encryption back where&lt;br /&gt;
the original encryption was stored,and overwrite your own programs&lt;br /&gt;
executable with the changes.&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
We hate mind-control,&lt;br /&gt;
we are words...&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/85949/394382/in-my-mind-i-must-read-vortex/#394382</guid>
      <pubDate>Wed, 29 Jul 2009 19:30:27 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Batch File</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/394236/394236/batch-file/</link>
      <description>Hi,&lt;br /&gt;
I m new to this..!&lt;br /&gt;
&lt;br /&gt;
As per your suggestion to use the following code in a bat file to find the folder size:&lt;br /&gt;
@Echo On&lt;br /&gt;
@For /F "tokens=*" %%a IN ('"dir /s /-c | find "bytes" | find /v "free""') do @Set summaryout=%%a&lt;br /&gt;
@Echo %summaryout%&lt;br /&gt;
@For /f "tokens=1,2 delims=)" %%a in ("%summaryout%") do @set filesout=%%a&amp;amp;set sizeout=%%b&lt;br /&gt;
@Echo %filesout%&lt;br /&gt;
@Echo %sizeout%&lt;br /&gt;
@Set sizeout=%sizeout:bytes=%&lt;br /&gt;
@Echo %sizeout%&lt;br /&gt;
@Set sizeout=%sizeout: =%&lt;br /&gt;
@Echo Size is :%sizeout%&lt;br /&gt;
@Echo OFF&lt;br /&gt;
DIR /S&lt;br /&gt;
&lt;br /&gt;
but when i m trying to execute this bat file i am unable to get the result i mean its so fast that i m unable to capture the data availale in it..!!&lt;br /&gt;
please help me..&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/394236/394236/batch-file/</guid>
      <pubDate>Mon, 27 Jul 2009 02:29:24 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
  </channel>
</rss>