<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>MS-DOS Feed - Programmer's Heaven</title>
    <link>http://www.programmersheaven.com/feed/Tag/1635/RSS.aspx</link>
    <description>Events at Programmer's Heaven related to MS-DOS.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sat, 25 May 2013 06:36:26 -0700</pubDate>
    <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>
    <item>
      <title>African Assembler (ASM++) 12.11</title>
      <link>http://www.programmersheaven.com/download/56734/download.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/tinashh2007/"&gt;tinashh2007&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/download/56734/download.aspx"&gt;file&lt;/a&gt;.&lt;/p&gt;The African Assembler has been updated to fully support PE32 and PE64. It now supports, MS-DOS COM, Raw Binary, DOS MZ, OMF 16-bit and 32-bit, PE32 and PE64. Currently under development is COFF 32 and 64-bit. Quite a number of tools and examples are included in this package.
As we speak Im developing hybrid 32 and 64-bit operating system using ASM++

Enjoy</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/download/56734/download.aspx</guid>
      <pubDate>Fri, 23 Nov 2012 07:09:53 -0700</pubDate>
    </item>
    <item>
      <title>Re: Dos boot Hard drive  failure</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/421448/421568/ReadMessage.aspx#421568</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/pseudocoder/"&gt;pseudocoder&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/421448/421568/ReadMessage.aspx#421568"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/Board.aspx"&gt;MS-DOS&lt;/a&gt; forum.&lt;/p&gt;DOS 6.22 needs a fat 16 partition (2 GB upper limit); if that's ok, try booting from the floppy and typing fdisk /mbr and then sys c:  &lt;br /&gt;
&lt;br /&gt;
The above shouldn't be used if you're using a partition manager, have a dual install, or more than 4 (I think it was) partitions.&lt;br /&gt;
&lt;br /&gt;
It's possible the MBR is damaged.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/421448/421568/ReadMessage.aspx#421568</guid>
      <pubDate>Mon, 07 Feb 2011 11:02:34 -0700</pubDate>
    </item>
    <item>
      <title>Re: Adding windows calculator</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/419408/419591/ReadMessage.aspx#419591</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/pseudocoder/"&gt;pseudocoder&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/419408/419591/ReadMessage.aspx#419591"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/Board.aspx"&gt;MS-DOS&lt;/a&gt; forum.&lt;/p&gt;add a label&lt;br /&gt;
&lt;br /&gt;
if %choose% == C goto calc&lt;br /&gt;
if %choose% == c goto calc&lt;br /&gt;
&lt;br /&gt;
:calc&lt;br /&gt;
run %windir%\system32\calc.exe&lt;br /&gt;
goto calc_end&lt;br /&gt;
:other labels&lt;br /&gt;
...&lt;br /&gt;
...&lt;br /&gt;
:calc_end&lt;br /&gt;
&lt;br /&gt;
try something like that; it looks like it's defaulting to a shutdown because of being included inside of :begin&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/419408/419591/ReadMessage.aspx#419591</guid>
      <pubDate>Mon, 08 Nov 2010 14:19:34 -0700</pubDate>
    </item>
    <item>
      <title>Re: DOS Help for Beginner</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/418636/418655/ReadMessage.aspx#418655</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/AsmGuru62/"&gt;AsmGuru62&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/418636/418655/ReadMessage.aspx#418655"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/Board.aspx"&gt;MS-DOS&lt;/a&gt; forum.&lt;/p&gt;&lt;span style="color: Blue;"&gt;&lt;br /&gt;
1. Open the source file with fopen()&lt;br /&gt;
2. Create the target file with fopen()&lt;br /&gt;
&lt;br /&gt;
3. Read source line with fgets()&lt;br /&gt;
4. Find the marker where you need to truncate the line (strchr() or strstr())&lt;br /&gt;
5. Truncate the line by storing zero AFTER the marker you have found&lt;br /&gt;
6. Append '\n' character to the line with strcat()&lt;br /&gt;
7. Write the truncated line to target file with fputs()&lt;br /&gt;
&lt;br /&gt;
8. Repeat all steps starting from step #3 until there are no more lines left in source file.&lt;br /&gt;
&lt;br /&gt;
9. Close both files with fclose()&lt;br /&gt;
&lt;/span&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/418636/418655/ReadMessage.aspx#418655</guid>
      <pubDate>Fri, 10 Sep 2010 04:46:06 -0700</pubDate>
    </item>
    <item>
      <title>Re: Can I decompile an old ms-dos program</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/415814/415890/ReadMessage.aspx#415890</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/AsmGuru62/"&gt;AsmGuru62&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/415814/415890/ReadMessage.aspx#415890"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/Board.aspx"&gt;MS-DOS&lt;/a&gt; forum.&lt;/p&gt;&lt;span style="color: Blue;"&gt;Not sure if it is possible to detect the language. And why language is important for you? You can only turn it into assembler - one language only.&lt;/span&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/415814/415890/ReadMessage.aspx#415890</guid>
      <pubDate>Mon, 26 Apr 2010 04:41:59 -0700</pubDate>
    </item>
    <item>
      <title>Re: Can I decompile an old ms-dos program</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/415814/415826/ReadMessage.aspx#415826</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/AsmGuru62/"&gt;AsmGuru62&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/415814/415826/ReadMessage.aspx#415826"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/Board.aspx"&gt;MS-DOS&lt;/a&gt; forum.&lt;/p&gt;&lt;span style="color: Blue;"&gt;Use GOOGLE and find disassemblers for MS-DOS.&lt;/span&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/415814/415826/ReadMessage.aspx#415826</guid>
      <pubDate>Sat, 24 Apr 2010 16:59:05 -0700</pubDate>
    </item>
    <item>
      <title>Re: NEED CODE TO SPECIFY ONLY THE FILE I NEED TO COPY IN A FOLDER</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/411321/411345/ReadMessage.aspx#411345</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/AsmGuru62/"&gt;AsmGuru62&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/411321/411345/ReadMessage.aspx#411345"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/Board.aspx"&gt;MS-DOS&lt;/a&gt; forum.&lt;/p&gt;&lt;span style="color: Blue;"&gt;Link to HELP PC online:&lt;br /&gt;
&lt;a href="http://docs.huihoo.com/help-pc/int-int_21.html"&gt;http://docs.huihoo.com/help-pc/int-int_21.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
You need to enumerate all files in your folder with these services:&lt;br /&gt;
AH=4Eh (Find First File)&lt;br /&gt;
AH=4Fh (Find Next File)&lt;br /&gt;
&lt;br /&gt;
During these calls DOS will fill the information about each file into DTA object (which can be set by AH=1Ah service). That object has DATE &amp;amp; TIME of the file. Use it to select only the files needed for copying.&lt;br /&gt;
&lt;/span&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/411321/411345/ReadMessage.aspx#411345</guid>
      <pubDate>Tue, 29 Dec 2009 05:17:57 -0700</pubDate>
    </item>
    <item>
      <title>detecting hard disks?</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/409209/409209/ReadMessage.aspx#409209</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/vlad777/"&gt;vlad777&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/409209/409209/ReadMessage.aspx#409209"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/Board.aspx"&gt;MS-DOS&lt;/a&gt; forum.&lt;/p&gt;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/ReadMessage.aspx#409209</guid>
      <pubDate>Fri, 13 Nov 2009 02:17:47 -0700</pubDate>
    </item>
    <item>
      <title>Re: unable to set variable in DOS batch file</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/395581/395718/ReadMessage.aspx#395718</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/anthrax11/"&gt;anthrax11&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/395581/395718/ReadMessage.aspx#395718"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/Board.aspx"&gt;MS-DOS&lt;/a&gt; forum.&lt;/p&gt;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/ReadMessage.aspx#395718</guid>
      <pubDate>Tue, 25 Aug 2009 02:41:06 -0700</pubDate>
    </item>
    <item>
      <title>Re: unable to set variable in DOS batch file</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/395581/395631/ReadMessage.aspx#395631</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/anthrax11/"&gt;anthrax11&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/395581/395631/ReadMessage.aspx#395631"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/Board.aspx"&gt;MS-DOS&lt;/a&gt; forum.&lt;/p&gt;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/ReadMessage.aspx#395631</guid>
      <pubDate>Mon, 24 Aug 2009 02:24:26 -0700</pubDate>
    </item>
    <item>
      <title>Re: unable to set variable in DOS batch file</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/395581/395595/ReadMessage.aspx#395595</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/anthrax11/"&gt;anthrax11&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/395581/395595/ReadMessage.aspx#395595"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/Board.aspx"&gt;MS-DOS&lt;/a&gt; forum.&lt;/p&gt;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/ReadMessage.aspx#395595</guid>
      <pubDate>Sun, 23 Aug 2009 06:01:54 -0700</pubDate>
    </item>
    <item>
      <title>Re: DOS 6.22 Disks 1 - 3</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/390566/390574/ReadMessage.aspx#390574</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/anthrax11/"&gt;anthrax11&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/390566/390574/ReadMessage.aspx#390574"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/Board.aspx"&gt;MS-DOS&lt;/a&gt; forum.&lt;/p&gt;&lt;a href="http://thepiratebay.org/torrent/4410496/MS-DOS_6.22_(English)"&gt;http://thepiratebay.org/torrent/4410496/MS-DOS_6.22_(English)&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Care to explain why you need it in 2009? :)</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/390566/390574/ReadMessage.aspx#390574</guid>
      <pubDate>Thu, 07 May 2009 12:09:58 -0700</pubDate>
    </item>
    <item>
      <title>Re: Compile a DOS C++ file in Windows</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/388857/388938/ReadMessage.aspx#388938</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/AsmGuru62/"&gt;AsmGuru62&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/388857/388938/ReadMessage.aspx#388938"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/Board.aspx"&gt;MS-DOS&lt;/a&gt; forum.&lt;/p&gt;&lt;span style="color: Blue;"&gt;Windows has a DOS Virtual Machine (NTVDM). Most of DOS application code will run fine inside it, however, if the code does some hardware things, like writing to ports, which are "owned" by Windows or some other driver level code - this will not work properly inside NTVDM.&lt;br /&gt;
&lt;br /&gt;
My old Turbo C graphics programs from the 90s are still running fine.&lt;/span&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/388857/388938/ReadMessage.aspx#388938</guid>
      <pubDate>Fri, 10 Apr 2009 04:47:17 -0700</pubDate>
    </item>
    <item>
      <title>Re: Compile a DOS C++ file in Windows</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/388857/388878/ReadMessage.aspx#388878</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/AsmGuru62/"&gt;AsmGuru62&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/388857/388878/ReadMessage.aspx#388878"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/Board.aspx"&gt;MS-DOS&lt;/a&gt; forum.&lt;/p&gt;&lt;span style="color: Blue;"&gt;Latest VC++ is only for Windows.&lt;br /&gt;
&lt;br /&gt;
You need a DOS compiler, I mean the old compiler, like Turbo C++ or Visual C++ 1.5 or something like that... (Watcom DOS works too)&lt;/span&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/388857/388878/ReadMessage.aspx#388878</guid>
      <pubDate>Thu, 09 Apr 2009 04:30:54 -0700</pubDate>
    </item>
    <item>
      <title>Re: 640000?</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/388559/388618/ReadMessage.aspx#388618</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/Actor/"&gt;Actor&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/388559/388618/ReadMessage.aspx#388618"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/Board.aspx"&gt;MS-DOS&lt;/a&gt; forum.&lt;/p&gt;: :So why did Microsoft chose 640000 bytes as the upper limit for DOS? &lt;br /&gt;
: &lt;br /&gt;
: Because Bill Gates said so  :) : "640 kb ought to be enough for &lt;br /&gt;
: everybody." &lt;br /&gt;
: &lt;br /&gt;
: But it's not M$, it comes from the original PC hardware design: &lt;br /&gt;
: &lt;a href="http://en.wikipedia.org/wiki/Conventional_memory"&gt;http://en.wikipedia.org/wiki/Conventional_memory&lt;/a&gt;&lt;br /&gt;
: &lt;br /&gt;
Your response brings more questions.&lt;br /&gt;
&lt;br /&gt;
My first PC was an XT with 640K RAM.  The user manual explicitly stated that memory could be expanded to 1Meg by purchasing additional chips.  There were empty sockets on the motherboard to take the ships.  There was a caveat that only "special software" could access this additional memory.  But obviously the memory was simply not there.  It was not being used by hardware.&lt;br /&gt;
&lt;br /&gt;
???&lt;br /&gt;
 &lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/388559/388618/ReadMessage.aspx#388618</guid>
      <pubDate>Sun, 05 Apr 2009 12:22:46 -0700</pubDate>
    </item>
    <item>
      <title>640000?</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/388559/388559/ReadMessage.aspx#388559</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/Actor/"&gt;Actor&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/388559/388559/ReadMessage.aspx#388559"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/Board.aspx"&gt;MS-DOS&lt;/a&gt; forum.&lt;/p&gt;You need 19 lines in an address buss to access half a megabyte.  20 lines addresses a full megabyte.&lt;br /&gt;
&lt;br /&gt;
So why did Microsoft chose 640000 bytes as the upper limit for DOS?  It's more than 19 lines can handle so you need 20 lines.  Why did they just throw away 360000 bytes?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/388559/388559/ReadMessage.aspx#388559</guid>
      <pubDate>Fri, 03 Apr 2009 22:52:12 -0700</pubDate>
    </item>
    <item>
      <title>Re: Dos exe with no command line arguments</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/384311/384722/ReadMessage.aspx#384722</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/iyercb/"&gt;iyercb&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/384311/384722/ReadMessage.aspx#384722"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/Board.aspx"&gt;MS-DOS&lt;/a&gt; forum.&lt;/p&gt;It is quite possible that the program is written in such a way that it prompts for input after each step. In this case, there is not much you can do. &lt;br /&gt;
&lt;br /&gt;
Anyway try this bat file&lt;br /&gt;
&lt;br /&gt;
rem @echo off&lt;br /&gt;
rem calling protocol: ExecuteDecode.bat version inputfilepath outputfilepath&lt;br /&gt;
:Start&lt;br /&gt;
IF "%1" == "" GOTO ErrorNoVersion&lt;br /&gt;
IF "%2" == "" GOTO ErrorNoInputFilePath&lt;br /&gt;
IF "%3" == "" GOTO ErrorNoOutputFilePath&lt;br /&gt;
echo Executing Decode&lt;br /&gt;
decode %1 %2 %3&lt;br /&gt;
pause&lt;br /&gt;
goto Exit&lt;br /&gt;
:ErrorNoOutputFilePath&lt;br /&gt;
echo You did not enter an Output File Path&lt;br /&gt;
pause&lt;br /&gt;
goto Exit&lt;br /&gt;
:ErrorNoInputFilePath&lt;br /&gt;
echo You did not enter an Input File Path&lt;br /&gt;
pause&lt;br /&gt;
goto Exit&lt;br /&gt;
:ErrorNoVersion&lt;br /&gt;
echo You did not enter a Version&lt;br /&gt;
pause&lt;br /&gt;
:Exit&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/384311/384722/ReadMessage.aspx#384722</guid>
      <pubDate>Thu, 22 Jan 2009 10:33:05 -0700</pubDate>
    </item>
    <item>
      <title>Re: ms dos 'move' to c</title>
      <link>http://www.programmersheaven.com/mb/CandCPP/382135/382268/ReadMessage.aspx#382268</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/MT2002/"&gt;MT2002&lt;/a&gt; posted the message '&lt;a href="http://www.programmersheaven.com/mb/CandCPP/382135/382268/ReadMessage.aspx#382268"&gt;Re: ms dos 'move' to c&lt;/a&gt;' on the &lt;a href="http://www.programmersheaven.com/mb/CandCPP/Board.aspx"&gt;C and C++&lt;/a&gt; forum.&lt;/p&gt;: I want to convert the ms-dos command 'move' into c . Could you help &lt;br /&gt;
: me?&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/aa365239(VS.85).aspx"&gt;Win32 API MoveFile()&lt;/a&gt;? &lt;img src="http://www.programmersheaven.com/images/Community/twink.gif" width="15" height="15" alt="" /&gt;&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/CandCPP/382135/382268/ReadMessage.aspx#382268</guid>
      <pubDate>Wed, 26 Nov 2008 17:18:56 -0700</pubDate>
    </item>
    <item>
      <title>EQTXT.ZIP</title>
      <link>http://www.programmersheaven.com/download/55760/download.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/W.T.Kupchik/"&gt;W.T.Kupchik&lt;/a&gt; submitted a new file called '&lt;a href="http://www.programmersheaven.com/download/55760/download.aspx"&gt;EQTXT.ZIP&lt;/a&gt;'.&lt;/p&gt;EQ.TXT contains useful EQ.COM program data and, if you don't have MASM, an uncommented SCR program for assembling EQ.COM using DEBUG.EXE (MS-DOS). See EQ.ASM for additional information.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/download/55760/download.aspx</guid>
      <pubDate>Wed, 12 Nov 2008 08:17:30 -0700</pubDate>
    </item>
    <item>
      <title>EQCOM.ZIP</title>
      <link>http://www.programmersheaven.com/download/55759/download.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/W.T.Kupchik/"&gt;W.T.Kupchik&lt;/a&gt; submitted a new file called '&lt;a href="http://www.programmersheaven.com/download/55759/download.aspx"&gt;EQCOM.ZIP&lt;/a&gt;'.&lt;/p&gt;EQ.COM is a small, 869 byte DOS command line conversion utility that automatically displays all valid equivalents of bases 2, 8, 10 and 16. Since it classifies the intrinsic base of a %1 number internally, EQ doesn't require entry of any
base-designator in %2. See EQ.TXT &amp;amp; EQ.ASM for complete overview of EQ.COM program.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/download/55759/download.aspx</guid>
      <pubDate>Wed, 12 Nov 2008 08:17:25 -0700</pubDate>
    </item>
    <item>
      <title>EQASM.ZIP</title>
      <link>http://www.programmersheaven.com/download/55758/download.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/W.T.Kupchik/"&gt;W.T.Kupchik&lt;/a&gt; submitted a new file called '&lt;a href="http://www.programmersheaven.com/download/55758/download.aspx"&gt;EQASM.ZIP&lt;/a&gt;'.&lt;/p&gt;EQ.ASM was written with MASM (Ver 6.1). See EQ.TXT for comprehensive details concerning the EQ.COM program.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/download/55758/download.aspx</guid>
      <pubDate>Wed, 12 Nov 2008 08:17:19 -0700</pubDate>
    </item>
    <item>
      <title>EQREADME.ZIP</title>
      <link>http://www.programmersheaven.com/download/55666/download.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/W.T.Kupchik/"&gt;W.T.Kupchik&lt;/a&gt; submitted a new file called '&lt;a href="http://www.programmersheaven.com/download/55666/download.aspx"&gt;EQREADME.ZIP&lt;/a&gt;'.&lt;/p&gt;EQREADME.TXT contains useful information about how the EQ.COM program functions on the DOS command line. See EQ.ASM for source code.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/download/55666/download.aspx</guid>
      <pubDate>Wed, 05 Nov 2008 05:07:20 -0700</pubDate>
    </item>
    <item>
      <title>EQ_COM.ZIP</title>
      <link>http://www.programmersheaven.com/download/55665/download.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/W.T.Kupchik/"&gt;W.T.Kupchik&lt;/a&gt; submitted a new file called '&lt;a href="http://www.programmersheaven.com/download/55665/download.aspx"&gt;EQ_COM.ZIP&lt;/a&gt;'.&lt;/p&gt;EQ.COM is a small, 876 byte DOS command line conversion utility that automatically displays all valid
equivalents of bases 2, 8, 10 and 16. Since it
classifies the intrinsic base of a %1 number
internally, EQ doesn't require entry of any
base-designator in %2. See EQREADME.TXT for
further program details.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/download/55665/download.aspx</guid>
      <pubDate>Wed, 05 Nov 2008 05:06:29 -0700</pubDate>
    </item>
    <item>
      <title>EQ_ASM.ZIP</title>
      <link>http://www.programmersheaven.com/download/55664/download.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/W.T.Kupchik/"&gt;W.T.Kupchik&lt;/a&gt; submitted a new file called '&lt;a href="http://www.programmersheaven.com/download/55664/download.aspx"&gt;EQ_ASM.ZIP&lt;/a&gt;'.&lt;/p&gt;EQ.ASM was written using MASM (Version 6.1) to produce
the EQ.COM assembly program. See EQREADME.TXT for full program details.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/download/55664/download.aspx</guid>
      <pubDate>Wed, 05 Nov 2008 05:05:39 -0700</pubDate>
    </item>
    <item>
      <title>File exchange between DOS and OS-X</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/381454/381454/ReadMessage.aspx#381454</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/Actor/"&gt;Actor&lt;/a&gt; posted the message '&lt;a href="http://www.programmersheaven.com/mb/MS-DOS/381454/381454/ReadMessage.aspx#381454"&gt;File exchange between DOS and OS-X&lt;/a&gt;' on the &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/Board.aspx"&gt;MS-DOS&lt;/a&gt; forum.&lt;/p&gt;I would like to find a way to transfer files between a machine running DOS 6.22 and a Mac running OS-X.  Presently I do it by copying the file to a floppy and passing the floppy between the two machines.  That's getting tiresome.  Could the two machines be networked together?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/381454/381454/ReadMessage.aspx#381454</guid>
      <pubDate>Fri, 31 Oct 2008 15:06:31 -0700</pubDate>
    </item>
    <item>
      <title>EQTXT.ZIP</title>
      <link>http://www.programmersheaven.com/download/55760/download.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/W.T.Kupchik/"&gt;W.T.Kupchik&lt;/a&gt; submitted a new file called '&lt;a href="http://www.programmersheaven.com/download/55760/download.aspx"&gt;EQTXT.ZIP&lt;/a&gt;'.&lt;/p&gt;EQ.TXT contains useful EQ.COM program data and, if you don't have MASM, an uncommented SCR program for assembling EQ.COM using DEBUG.EXE (MS-DOS). See EQ.ASM for additional information.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/download/55760/download.aspx</guid>
      <pubDate>Sun, 19 Oct 2008 08:21:41 -0700</pubDate>
    </item>
    <item>
      <title>EQCOM.ZIP</title>
      <link>http://www.programmersheaven.com/download/55759/download.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/W.T.Kupchik/"&gt;W.T.Kupchik&lt;/a&gt; submitted a new file called '&lt;a href="http://www.programmersheaven.com/download/55759/download.aspx"&gt;EQCOM.ZIP&lt;/a&gt;'.&lt;/p&gt;EQ.COM is a small, 869 byte DOS command line conversion utility that automatically displays all valid equivalents of bases 2, 8, 10 and 16. Since it classifies the intrinsic base of a %1 number internally, EQ doesn't require entry of any
base-designator in %2. See EQ.TXT &amp;amp; EQ.ASM for complete overview of EQ.COM program.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/download/55759/download.aspx</guid>
      <pubDate>Sun, 19 Oct 2008 08:06:40 -0700</pubDate>
    </item>
    <item>
      <title>EQASM.ZIP</title>
      <link>http://www.programmersheaven.com/download/55758/download.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/W.T.Kupchik/"&gt;W.T.Kupchik&lt;/a&gt; submitted a new file called '&lt;a href="http://www.programmersheaven.com/download/55758/download.aspx"&gt;EQASM.ZIP&lt;/a&gt;'.&lt;/p&gt;EQ.ASM was written with MASM (Ver 6.1). See EQ.TXT for comprehensive details concerning the EQ.COM program.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/download/55758/download.aspx</guid>
      <pubDate>Sun, 19 Oct 2008 07:52:32 -0700</pubDate>
    </item>
    <item>
      <title>EQREADME.ZIP</title>
      <link>http://www.programmersheaven.com/download/55666/download.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/W.T.Kupchik/"&gt;W.T.Kupchik&lt;/a&gt; submitted a new file called '&lt;a href="http://www.programmersheaven.com/download/55666/download.aspx"&gt;EQREADME.ZIP&lt;/a&gt;'.&lt;/p&gt;EQREADME.TXT contains useful information about how the EQ.COM program functions on the DOS command line. See EQ.ASM for source code.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/download/55666/download.aspx</guid>
      <pubDate>Wed, 10 Sep 2008 11:19:24 -0700</pubDate>
    </item>
    <item>
      <title>EQ_COM.ZIP</title>
      <link>http://www.programmersheaven.com/download/55665/download.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/W.T.Kupchik/"&gt;W.T.Kupchik&lt;/a&gt; submitted a new file called '&lt;a href="http://www.programmersheaven.com/download/55665/download.aspx"&gt;EQ_COM.ZIP&lt;/a&gt;'.&lt;/p&gt;EQ.COM is a small, 876 byte DOS command line conversion utility that automatically displays all valid
equivalents of bases 2, 8, 10 and 16. Since it
classifies the intrinsic base of a %1 number
internally, EQ doesn't require entry of any
base-designator in %2. See EQREADME.TXT for
further program details.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/download/55665/download.aspx</guid>
      <pubDate>Wed, 10 Sep 2008 11:14:11 -0700</pubDate>
    </item>
    <item>
      <title>EQ_ASM.ZIP</title>
      <link>http://www.programmersheaven.com/download/55664/download.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/W.T.Kupchik/"&gt;W.T.Kupchik&lt;/a&gt; submitted a new file called '&lt;a href="http://www.programmersheaven.com/download/55664/download.aspx"&gt;EQ_ASM.ZIP&lt;/a&gt;'.&lt;/p&gt;EQ.ASM was written using MASM (Version 6.1) to produce
the EQ.COM assembly program. See EQREADME.TXT for full program details.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/download/55664/download.aspx</guid>
      <pubDate>Wed, 10 Sep 2008 11:07:23 -0700</pubDate>
    </item>
    <item>
      <title>Rename multiple files</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/375016/375016/ReadMessage.aspx#375016</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/Halleluuja/"&gt;Halleluuja&lt;/a&gt; posted the message '&lt;a href="http://www.programmersheaven.com/mb/MS-DOS/375016/375016/ReadMessage.aspx#375016"&gt;Rename multiple files&lt;/a&gt;' on the &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/Board.aspx"&gt;MS-DOS&lt;/a&gt; forum.&lt;/p&gt;Hello,&lt;br /&gt;
&lt;br /&gt;
I would need some help with writing the .bat file that renames all files with same extension (let's say .jpg) in one folder as numeric row.&lt;br /&gt;
&lt;br /&gt;
The original files are:&lt;br /&gt;
somefile.jpg&lt;br /&gt;
anotherfile.jpg&lt;br /&gt;
onemorefile.jpg&lt;br /&gt;
. . . . .&lt;br /&gt;
(and so on)&lt;br /&gt;
&lt;br /&gt;
And the result supposed to be:&lt;br /&gt;
1.jpg&lt;br /&gt;
2.jpg&lt;br /&gt;
3.jpg&lt;br /&gt;
. . .&lt;br /&gt;
(etc)&lt;br /&gt;
&lt;br /&gt;
Any ideas?&lt;br /&gt;
&lt;br /&gt;
Thank you&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/375016/375016/ReadMessage.aspx#375016</guid>
      <pubDate>Mon, 08 Sep 2008 04:57:57 -0700</pubDate>
    </item>
    <item>
      <title>EQREADME.ZIP</title>
      <link>http://www.programmersheaven.com/download/55666/download.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/W.T.Kupchik/"&gt;W.T.Kupchik&lt;/a&gt; submitted a new file called '&lt;a href="http://www.programmersheaven.com/download/55666/download.aspx"&gt;EQREADME.ZIP&lt;/a&gt;'.&lt;/p&gt;EQREADME.TXT contains useful information about how the EQ.COM program functions on the DOS command line. See EQ.ASM for source code.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/download/55666/download.aspx</guid>
      <pubDate>Sat, 30 Aug 2008 08:35:25 -0700</pubDate>
    </item>
    <item>
      <title>EQ_COM.ZIP</title>
      <link>http://www.programmersheaven.com/download/55665/download.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/W.T.Kupchik/"&gt;W.T.Kupchik&lt;/a&gt; submitted a new file called '&lt;a href="http://www.programmersheaven.com/download/55665/download.aspx"&gt;EQ_COM.ZIP&lt;/a&gt;'.&lt;/p&gt;EQ.COM is a small, 876 byte DOS command line conversion utility that automatically displays all valid
equivalents of bases 2, 8, 10 and 16. Since it
classifies the intrinsic base of a %1 number
internally, EQ doesn't require entry of any
base-designator in %2. See EQREADME.TXT for
further program details.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/download/55665/download.aspx</guid>
      <pubDate>Sat, 30 Aug 2008 08:18:58 -0700</pubDate>
    </item>
    <item>
      <title>EQ_ASM.ZIP</title>
      <link>http://www.programmersheaven.com/download/55664/download.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/W.T.Kupchik/"&gt;W.T.Kupchik&lt;/a&gt; submitted a new file called '&lt;a href="http://www.programmersheaven.com/download/55664/download.aspx"&gt;EQ_ASM.ZIP&lt;/a&gt;'.&lt;/p&gt;EQ.ASM was written using MASM (Version 6.1) to produce
the EQ.COM assembly program. See EQREADME.TXT for full program details.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/download/55664/download.aspx</guid>
      <pubDate>Sat, 30 Aug 2008 07:51:46 -0700</pubDate>
    </item>
    <item>
      <title>Re: Compress File usng Windows Utility</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/373919/374463/ReadMessage.aspx#374463</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/Cindex/"&gt;Cindex&lt;/a&gt; posted the message '&lt;a href="http://www.programmersheaven.com/mb/MS-DOS/373919/374463/ReadMessage.aspx#374463"&gt;Re: Compress File usng Windows Utility &lt;/a&gt;' on the &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/Board.aspx"&gt;MS-DOS&lt;/a&gt; forum.&lt;/p&gt;I'm pretty sure wherever you read had it a little bit wrong.  The COMPACT command does make it smaller, but slower to read.  it works the same way as a ZIP and is still effective.&lt;br /&gt;
&lt;br /&gt;
PHP has a unzipping command, but I don't think Windows does.&lt;br /&gt;
function Me() {&lt;br /&gt;
 str1 = "ActionScript"; str2 = "PHP";&lt;br /&gt;
 trace(str1.concat(str2)); }&lt;br /&gt;
Output:  Skills.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/373919/374463/ReadMessage.aspx#374463</guid>
      <pubDate>Sun, 24 Aug 2008 09:59:45 -0700</pubDate>
    </item>
    <item>
      <title>QuadraticSolver</title>
      <link>http://www.programmersheaven.com/download/55546/download.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/bilderbikkel/"&gt;bilderbikkel&lt;/a&gt; submitted a new file called '&lt;a href="http://www.programmersheaven.com/download/55546/download.aspx"&gt;QuadraticSolver&lt;/a&gt;'.&lt;/p&gt;Tool (console/DOS) to show the solutions of a quadratic equation.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/download/55546/download.aspx</guid>
      <pubDate>Fri, 25 Jul 2008 05:14:15 -0700</pubDate>
    </item>
    <item>
      <title>confirm file was transferred</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/373317/373317/ReadMessage.aspx#373317</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/spowel4/"&gt;spowel4&lt;/a&gt; posted the message '&lt;a href="http://www.programmersheaven.com/mb/MS-DOS/373317/373317/ReadMessage.aspx#373317"&gt;confirm file was transferred&lt;/a&gt;' on the &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/Board.aspx"&gt;MS-DOS&lt;/a&gt; forum.&lt;/p&gt;I have the following batch file which is run once daily:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;@echo off
ftp -i -s:nsg.ftp xxx.xxx.xxx.xxx
set mmddyy=%date:~4,2%%date:~7,2%%date:~12%
move c:\scale\cai\jws\apex\1\1\xout\1.tsf c:\jwsarchive\%mmddyy%.tsf
move c:\scale\cai\jws\apex\1\1\xout\1.tmf c:\jwsarchive\%mmddyy%.tmf
@echo finished&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Is there a way, within this same batch file, to verify the ftp transfer was successful and then and only then, proceed with the archiving steps?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/373317/373317/ReadMessage.aspx#373317</guid>
      <pubDate>Thu, 10 Jul 2008 14:20:45 -0700</pubDate>
    </item>
    <item>
      <title>Re: Printing from DOS</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/367880/373079/ReadMessage.aspx#373079</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/Chinkha/"&gt;Chinkha&lt;/a&gt; posted the message '&lt;a href="http://www.programmersheaven.com/mb/MS-DOS/367880/373079/ReadMessage.aspx#373079"&gt;Re: Printing from DOS&lt;/a&gt;' on the &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/Board.aspx"&gt;MS-DOS&lt;/a&gt; forum.&lt;/p&gt;It appears my problem is a common known conflict between modern printers and old DOS programs. I found several articles cover this question. &lt;br /&gt;
&lt;br /&gt;
There are several third-party software utilities which &lt;br /&gt;
announce DOS program printing support (dosprint, dosprn, printfil) &lt;br /&gt;
&lt;br /&gt;
I evaluated them and I am not to be particularly enthusiastic. One of them &lt;br /&gt;
print text files only, another did nothing at me, next printed &lt;br /&gt;
corectly text part of my document but garbage instead of a graphics. &lt;br /&gt;
&lt;br /&gt;
At last I choose a dosprn &lt;a href="http://www.dosprn.com"&gt;dos print&lt;/a&gt; utility for me. It printed my text and charts more or less correctly and it is the most inexpensive between competitors. Unfortunately dosprn has no &lt;br /&gt;
'print preview' option but in the final analysis I don't need in this&lt;br /&gt;
feature extremely.&lt;br /&gt;
&lt;br /&gt;
: I googled and found claims the source of my problem is in my printer &lt;br /&gt;
: which is not DOS-compatible device and cannot print plain text. &lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/367880/373079/ReadMessage.aspx#373079</guid>
      <pubDate>Wed, 02 Jul 2008 01:43:32 -0700</pubDate>
    </item>
    <item>
      <title>Storing a directory path in a variable</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/373039/373039/ReadMessage.aspx#373039</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/jwondrusch/"&gt;jwondrusch&lt;/a&gt; posted the message '&lt;a href="http://www.programmersheaven.com/mb/MS-DOS/373039/373039/ReadMessage.aspx#373039"&gt;Storing a directory path in a variable&lt;/a&gt;' on the &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/Board.aspx"&gt;MS-DOS&lt;/a&gt; forum.&lt;/p&gt;Hi all - first post at programmersheaven.com!&lt;br /&gt;
&lt;br /&gt;
I've been developing a small backup utility that relies on the 7-zip command line utility.  It all works well but I'm hoping to streamline it a bit, as well as making it easier to update because it may be used in multiple locations and networks.  &lt;br /&gt;
&lt;br /&gt;
So my first question is, is it possible to store a directory path as a variable?  For example, I'd like to be able to put C:\Documents and Settings\User Name\Desktop\ into the variable %backupDir% but I've been able to use it as such.  I'd like to use that to change to the directory i'm backing up via the cd command:&lt;br /&gt;
&lt;br /&gt;
cd %backupDir%&lt;br /&gt;
&lt;br /&gt;
I've tried using CHDIR as well, to no avail.  I've tried using quotes, using %20 instead of spaces, tried using %userprofile% for the first part of the path and I haven't had any success using variables instead of absolute or relative paths.  Please help?&lt;br /&gt;
&lt;br /&gt;
The second question I have is regarding error catching.  Is it possible to use batch to monitor the 7-zip utility and to cancel it if it encounters an error?  or do I have to let it run the entire way and then cancel the results at the end?&lt;br /&gt;
&lt;br /&gt;
Thanks for any help you may be able to ovver&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/373039/373039/ReadMessage.aspx#373039</guid>
      <pubDate>Mon, 30 Jun 2008 12:54:19 -0700</pubDate>
    </item>
    <item>
      <title>Printing from MS-Dos Application Issues</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/372846/372846/ReadMessage.aspx#372846</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/bbennett/"&gt;bbennett&lt;/a&gt; posted the message '&lt;a href="http://www.programmersheaven.com/mb/MS-DOS/372846/372846/ReadMessage.aspx#372846"&gt;Printing from MS-Dos Application Issues&lt;/a&gt;' on the &lt;a href="http://www.programmersheaven.com/mb/MS-DOS/Board.aspx"&gt;MS-DOS&lt;/a&gt; forum.&lt;/p&gt;I am now running a DOS application in Windows XP. Printer is config as lpt1, ECP, prints from windows xp, however, does not print from dos . Any ideas?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/372846/372846/ReadMessage.aspx#372846</guid>
      <pubDate>Mon, 23 Jun 2008 17:47:26 -0700</pubDate>
    </item>
  </channel>
</rss>