<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>MS-DOS Forum RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest threads from the 'MS-DOS' forum at Programmer's Heaven, excluding replies.</description>
    <language>en</language>
    <copyright>Copyright 2009 Programmers Heaven</copyright>
    <pubDate>Fri, 03 Jul 2009 20:24:15 -0700</pubDate>
    <lastBuildDate>Fri, 03 Jul 2009 20:24:15 -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>SB Live! under real-mode MS-DOS 7.0</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/393090/393090/sb-live-under-real-mode-ms-dos-70/</link>
      <description>I recently upgraded to an Intel DG41TY motherboard with 4 GB RAM and obviously, there are no real-mode MS-DOS drivers to be found for my on-board Realtek ALC888VC audio. Since I still like to play good ol' DOS games (yes, I do know about DOSBox, thank you), I guess I have to install an old SB Live! PCI card I have lying about. I will be using this card after booting to real-mode MS-DOS 7 (the version that came with Win98SE).&lt;br /&gt;
&lt;br /&gt;
Questions:&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;1)&lt;/strong&gt; Will the card even work with this motherboard?&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;2)&lt;/strong&gt; Will its DOS drivers conflict with my on-board audio and cause any issues with IRQs etc.?&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;3)&lt;/strong&gt; The Live!'s DOS drivers require EMM386 to be loaded as a prerequisite. Now I'm facing a wierd problem with EMM386 that I've never seen before. Here are the outputs from &lt;strong&gt;MEM /C /P&lt;/strong&gt; without and with EMM386 loaded:&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;&lt;br /&gt;
&lt;strong&gt;Without EMM386&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
Memory Summary:

  Type of Memory       Total         Used          Free
  ----------------  -----------   -----------   -----------
  Conventional          655,360        31,648       623,712
  Upper                       0             0             0
  Reserved                    0             0             0
**************************************************
***********
  Extended (XMS)    3,183,476,7        65,536   3,183,411,2
  ----------------  -----------   -----------   -----------
  Total memory      3,184,132,0        97,184   3,184,034,9
**************************************************
***********

  Total under 1 MB      655,360        31,648       623,712

  Largest executable program size         623,616   (609K)
  Largest free upper memory block               0     (0K)
  MS-DOS is resident in the high memory area.&lt;/pre&gt;&lt;hr /&gt;&lt;br /&gt;
&lt;strong&gt;With EMM386&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
Memory Summary:

  Type of Memory       Total         Used          Free
  ----------------  -----------   -----------   -----------
  Conventional          655,360        16,288       639,072
  Upper                 129,504        19,664       109,840
  Reserved                    0             0             0
**************************************************
***********
  Extended (XMS)    3,183,347,2             ?             0
  ----------------  -----------   -----------   -----------
  Total memory      3,184,132,0             ?       748,912
**************************************************
***********

  Total under 1 MB      784,864        35,952       748,912

  Largest executable program size         639,056   (624K)
  Largest free upper memory block          65,280    (64K)
  MS-DOS is resident in the high memory area.&lt;/pre&gt;&lt;hr /&gt;&lt;br /&gt;
As you can see, with EMM386 loaded (required for the Live!'s DOS drivers to work), used and free XMS is not being detected properly, whereas it is when EMM386 is not loaded. Can anyone explain this to me? Is EMM386 barfing on encountering 4 GB of RAM? What do I do to solve this issue, 'cos many games won't work without free XMS being available.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/393090/393090/sb-live-under-real-mode-ms-dos-70/</guid>
      <pubDate>Wed, 01 Jul 2009 00:58:00 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Reading a file and searching for a string using a bat file</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/393010/393010/reading-a-file-and-searching-for-a-string-using-a-bat-file/</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
I'm trying to read in from a file and find a certain string, once it's found i have to split it at the = and get the text to be used in a file name backup. The only thing i'm having trouble with is getting the correct string.&lt;br /&gt;
&lt;br /&gt;
This is the code i'm using&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
@ECHO OFF
FOR /F %%A IN (C:\TEST\lpcqparm.cfg) DO (

	@ECHO %%A:~0,9%	
	
	SET VAR=%%A
	@ECHO %VAR%

)

&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
The echo of the %%A variable won't let me split the string to compare it and on the following line when i put it into a variable the variable always contains the last line of the file.&lt;br /&gt;
&lt;br /&gt;
The input file contains the following info&lt;br /&gt;
&lt;br /&gt;
&amp;amp;DATE=20090807&lt;br /&gt;
&amp;amp;DATE2=08072009&lt;br /&gt;
D&amp;amp;CRDACYC=D0932E&lt;br /&gt;
D&amp;amp;PRDACYC=D0932D&lt;br /&gt;
W&amp;amp;CRWKCYC=W0932&lt;br /&gt;
M&amp;amp;CRMOCYC=M0908&lt;br /&gt;
Q&amp;amp;CRQTCYC=Q0903&lt;br /&gt;
END-OF-FILE&lt;br /&gt;
&lt;br /&gt;
Does anyone know how this could be done or why when i put the %%A into a varaible it always contains the last line of the file?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/393010/393010/reading-a-file-and-searching-for-a-string-using-a-bat-file/</guid>
      <pubDate>Mon, 29 Jun 2009 09:31:01 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>For /F problem</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/392688/392688/for-f-problem/</link>
      <description>I am running Vista sp2 and am having trouble with the FOR /F command. Ill show you my problem:&lt;br /&gt;
&lt;br /&gt;
So far i have written this as a test for a larger program to come, but that doesn't matter&lt;br /&gt;
&lt;br /&gt;
My program:&lt;br /&gt;
&lt;br /&gt;
@echo off&lt;br /&gt;
&lt;br /&gt;
For /F "tokens=1 delims= " %%G IN (Lines.txt) DO Set var=%%G&lt;br /&gt;
&lt;br /&gt;
echo %var%&lt;br /&gt;
&lt;br /&gt;
pause&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
Lines.txt refers to a text file that looks like this:&lt;br /&gt;
&lt;br /&gt;
a&lt;br /&gt;
b&lt;br /&gt;
c&lt;br /&gt;
d&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If my understanding of FOR /F is correct it should only be able to extract 'a' &amp;amp; this is what i want it to do, but it keeps returning d, why is this, can i change it? Any help would be greatly appreciated!&lt;br /&gt;
&lt;br /&gt;
Will&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/392688/392688/for-f-problem/</guid>
      <pubDate>Mon, 22 Jun 2009 14:19:33 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Read the discription.</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/391996/391996/read-the-discription/</link>
      <description>Hey guys,&lt;br /&gt;
&lt;br /&gt;
How did the guys who made Bart's House of Weirdness and Prince of Persia V1.4 make separate sound drivers called the DRV files? How do you do that?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/391996/391996/read-the-discription/</guid>
      <pubDate>Sat, 06 Jun 2009 05:33:05 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>editing registry in batch files</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/391900/391900/editing-registry-in-batch-files/</link>
      <description>sure dos is an ancient language but nothing can quite beat its utter simplicity for its ability to simplify a bunch of tedious and often repeated tasks.  &lt;br /&gt;
one issue that i assume is simple yet still eludes my grasp is writing a batch file to change registry settings.  namely, the turning off the superhidden option.&lt;br /&gt;
can someone give me an example or something? thanks</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/391900/391900/editing-registry-in-batch-files/</guid>
      <pubDate>Wed, 03 Jun 2009 20:59:22 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Help with Windows Command line FTP....</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/391895/391895/help-with-windows-command-line-ftp/</link>
      <description>Greetings,&lt;br /&gt;
&lt;br /&gt;
I am trying to use windows dos prompt FTP to transfer a file up to my ISP.  I can do this using a FTP program, but in this case I'll end up writing a script to do this one file automatically.  At this point I am having an issue with just manually entering commands and hope that someone can help.&lt;br /&gt;
&lt;br /&gt;
I start ftp from the command prompt in the proper directory.  I then log in to my ISP and enter my user ID and password. &lt;br /&gt;
&lt;br /&gt;
Next I use the "put" command to send this small file to my ISP, however all I get following the "put" command is the following line and it hangs at that point&lt;br /&gt;
&lt;br /&gt;
&amp;gt; 200 Port command succesful&lt;br /&gt;
&lt;br /&gt;
When I look at my web account I can see the filename and extension, but the file is empty.  I transfer the same file with WS_FTP and it works fine.  Since the file name is getting through I would think I don't have an issue with blocked ports in a firewall, etc.&lt;br /&gt;
&lt;br /&gt;
If anyone can help me out, I'd really appreciate it.  &lt;br /&gt;
&lt;br /&gt;
I have tried both binary and ascii formats - same result.&lt;br /&gt;
&lt;br /&gt;
Thanks very much,&lt;br /&gt;
&lt;br /&gt;
Gary&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/391895/391895/help-with-windows-command-line-ftp/</guid>
      <pubDate>Wed, 03 Jun 2009 15:10:54 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>how to check a command result</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/391486/391486/how-to-check-a-command-result/</link>
      <description>hi all,&lt;br /&gt;
i want to check the result of a command from a batch file.  ex:&lt;br /&gt;
&lt;strong&gt;set a='echo'&lt;br /&gt;
echo %a%&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
this works, but i want to check whether tomcat is running or not.  i want to know the result of command &lt;strong&gt;telnet localhost 8080&lt;/strong&gt;. please help&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/391486/391486/how-to-check-a-command-result/</guid>
      <pubDate>Mon, 25 May 2009 04:56:05 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>how to check a command result</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/391485/391485/how-to-check-a-command-result/</link>
      <description>hi all,&lt;br /&gt;
i want to check the result of a command from a batch file.  ex:&lt;br /&gt;
&lt;strong&gt;set a='echo'&lt;br /&gt;
echo %a%&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
this works, but i want to check whether tomcat is running or not.  i want to know the result of command &lt;strong&gt;telnet localhost 8080&lt;/strong&gt;. please help&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/391485/391485/how-to-check-a-command-result/</guid>
      <pubDate>Mon, 25 May 2009 04:50:20 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Send keys with batch file?</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/391009/391009/send-keys-with-batch-file/</link>
      <description>Hello, I have a program that runs in the DOS environment. I was wondering if it was possible to create batch file or something that would input commands into that program. I want to add this to my Task Scheduler so that it does it automatically everyday. Thanks!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/391009/391009/send-keys-with-batch-file/</guid>
      <pubDate>Thu, 14 May 2009 17:36:19 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Help on Batch Command - Extract "Detail View" information from Window</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/390633/390633/help-on-batch-command---extract-detail-view-information-from-window/</link>
      <description>Hi&lt;br /&gt;
&lt;br /&gt;
I am a Window XP user and I need a batch command (DOS) that can pull up the "Details" view information (Name, Size, Dimensions etc.) from Windows Explorer into an Excel sheet, .CSV or .txt (tab deliminated).  &lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://i13.photobucket.com/albums/a262/rajtak/Details_view_Window_Explorer-1.jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;
Any help would be really appreciated.&lt;br /&gt;
&lt;br /&gt;
Please find attached &lt;strong&gt;screenshot&lt;/strong&gt; as well.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br&gt;&lt;br&gt;&lt;strong&gt;Attachment:&lt;/strong&gt; &lt;a href="http://www.programmersheaven.com/mb/DownloadAttachment.aspx?AttachmentID=634"&gt;Details_view_Window_Explorer.jpg&lt;/a&gt; (49261 bytes | downloaded 14 times)</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/390633/390633/help-on-batch-command---extract-detail-view-information-from-window/</guid>
      <pubDate>Fri, 08 May 2009 01:14:57 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>DOS 6.22 Disks 1 - 3</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/390566/390566/dos-622-disks-1---3/</link>
      <description>Does anyone have an FTP server or site that has the original 3 disks needed to install DOS 6.22?  1 of my disks doesn't work and I didn't make a copy.  Need help.  Thanks.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/390566/390566/dos-622-disks-1---3/</guid>
      <pubDate>Thu, 07 May 2009 09:30:18 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>coping files</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/390335/390335/coping-files/</link>
      <description>Hello I need to copy all kind of files into a folder, but I want to copy the files into internals folders.Example&lt;br /&gt;
&lt;br /&gt;
I have a folder whith this:&lt;br /&gt;
a.txt, b.txt and the folder "newfolder".&lt;br /&gt;
&lt;br /&gt;
but "newfolder" has:&lt;br /&gt;
c.txt and d.txt&lt;br /&gt;
&lt;br /&gt;
I want to copy (whith a MS-DOS commad) in other folder all the files .txt; the other folder will contain all the files .txt and will not contain the folder "newfolder":&lt;br /&gt;
&lt;br /&gt;
other folder will has:&lt;br /&gt;
a.txt, b.txt, c.txt and d.txt&lt;br /&gt;
&lt;br /&gt;
Thank you Very Much, and sorry my enghish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/390335/390335/coping-files/</guid>
      <pubDate>Sun, 03 May 2009 21:32:39 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>FTP - no overwrite if file exists</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/389984/389984/ftp---no-overwrite-if-file-exists/</link>
      <description>I am pretty new to DOS so apologies if this is an obvious question. I have written a text file script to download files from an ftp site. I have it working fine - using mget and the file extension to dowload all files.  I am planning to use IDL to run this script periodically, but I only want to download any new files that are on the site as the files are large and it will be a waste of bandwith to download files I already have again.  I am wondering if there is a way of telling mget to skip a file if the file already exists in the folder on my computer, or if there's a better way of doing this.&lt;br /&gt;
Thanks!&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/389984/389984/ftp---no-overwrite-if-file-exists/</guid>
      <pubDate>Tue, 28 Apr 2009 01:58:26 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>change directory failed</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/389396/389396/change-directory-failed/</link>
      <description>Hi,&lt;br /&gt;
I have a directory I:\program_files&lt;br /&gt;
I want to change to it, so I tried several ways but all failed&lt;br /&gt;
&lt;pre class="sourcecode"&gt;

I:\&amp;gt;cd program_files
Invalid directory

I:\&amp;gt;cd ./program_files
Invalid switch - /program_files

I:\&amp;gt;cd .\program_files
Invalid directory

I:\&amp;gt;cd program_files
Invalid directory

I:\&amp;gt;cd I:\program_files
Invalid directory

I:\&amp;gt;cd program\_files
Invalid directory

I:\&amp;gt;cd program/_files
Invalid switch - /_files

&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Can someone tell me how to do it right?&lt;br /&gt;
Thanks and regards!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/389396/389396/change-directory-failed/</guid>
      <pubDate>Fri, 17 Apr 2009 16:04:56 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Absread</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/389299/389299/absread/</link>
      <description>Hello. Have already posted this on beginners board but just realised it probably belongs here, sorry bout that...&lt;br /&gt;
&lt;br /&gt;
Im doing a module on the dos operating system for my collage.&lt;br /&gt;
For the project I have to list the deleted files on a floppy disk.&lt;br /&gt;
To do this I have been using the turbo c function absread() to read the root directory on the floppy.&lt;br /&gt;
The problem I am having is that the absread function seems start reading two bytes after the start of the sector, so for example if the first entry is named "example.txt" it shows up as "ample.txt" in the programme. This also messes up the time and date stamps etc.&lt;br /&gt;
&lt;br /&gt;
Im compiling with turbo c++ 3.0 in windows 98.&lt;br /&gt;
&lt;br /&gt;
My code is posted below, any help would be greatly appriciated...&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;dos.h&amp;gt;

typedef struct	
{
	char name[8];	/*Directory entry format for dos 6.0*/
	char ext[3];
	char attribute;
	char res;
	char createtimefine;
	int createtime;
	int createdate;
	int lastaccessdate;
	int eaindex;
	int lastmodifytime;
	int lastmodifydate;
	int start_cluster;
	long int size;
} dirstore;

void main(void);
void read_structure(dirstore *);
void list_names(dirstore []);

void main(void)
{
	dirstore store[244];


	read_structure(store);


	list_names(store);

}
void list_names(dirstore store[])
{
	int lcv;
	char key;
	int i;

	printf("File names in root dir are:\n\n");

	for (lcv = 0; lcv &amp;lt; 244; lcv++)
	{
		if (store[lcv].name[0] != 0x00)
		{
			for (i = 0; i &amp;lt; 8; i ++)
			{
				printf("Filename = %c\n", store[lcv].name[i]);
			}
			for (i = 0; i &amp;lt; 3; i ++)
			{
			printf("Extension = %c\n",store[lcv].ext[i]);     
			}
			printf("Size = %d\n", store[lcv].size);
			printf("Press any key to continue\n");
			key = getch();
		}


	/*	else printf("Unused directory entry\n");*/
	}
}

void read_structure(dirstore *readir)
{
	if (absread(0, 14, 19 &amp;amp;readir) != 0)
		printf("Error, cannot read drive a:\n");&lt;/pre&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/389299/389299/absread/</guid>
      <pubDate>Thu, 16 Apr 2009 04:04:06 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>How to identify Invalid input string ?</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/389119/389119/how-to-identify-invalid-input-string-/</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
I have batch file and i want it to identify the invalid user input, it should validate the user input given and should&lt;br /&gt;
return the message saying that "You have entered invalid Environment"&lt;br /&gt;
Please help how it is possible with below code..&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: Red;"&gt;&lt;span style="font-size: x-small;"&gt;REM Please Enter Environment Details Options are&lt;br /&gt;
REM ricdb&lt;br /&gt;
REM cfgcent&lt;br /&gt;
REM cmd&lt;br /&gt;
REM wld&lt;br /&gt;
&lt;br /&gt;
Set /P Ename=Enter Environment Name^&amp;gt;&lt;br /&gt;
&lt;br /&gt;
IF '%Ename%'=='wld'     GOTO WLD&lt;br /&gt;
IF '%Ename%'=='cmd'     GOTO CMD&lt;br /&gt;
IF '%Ename%'=='cfgcent' GOTO CFGCENT&lt;br /&gt;
IF '%Ename%'=='ricdb'   GOTO RICDB&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Thanks &amp;amp; Regards&lt;br /&gt;
&lt;br /&gt;
Uday Bhole&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/389119/389119/how-to-identify-invalid-input-string-/</guid>
      <pubDate>Tue, 14 Apr 2009 07:46:33 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Ask User for Input (String) ??</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/389113/389113/ask-user-for-input-string-/</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
I have batch file and i want it to ask for the User input (String) like below thing, i know how to do it for a number input but do not know how to do it with String input.&lt;br /&gt;
Logic should be like these&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: Red;"&gt;&lt;span style="font-size: x-small;"&gt;REM Please Enter Environment Details Options are&lt;br /&gt;
REM ricdb&lt;br /&gt;
REM cfgcent&lt;br /&gt;
REM cmd&lt;br /&gt;
REM wld&lt;br /&gt;
&lt;br /&gt;
SET choice&lt;br /&gt;
set /p choice=Type the Environment to deploy &lt;br /&gt;
if not '%choice%'=='' set choice=%choice:~0,1%&lt;br /&gt;
&lt;br /&gt;
IF '%choice%'=='wld'     GOTO WLD&lt;br /&gt;
IF '%choice%'=='cmd'     GOTO CMD&lt;br /&gt;
IF '%choice%'=='cfgcent' GOTO CFGCENT&lt;br /&gt;
IF '%choice%'=='ricdb'   GOTO RICDB&lt;br /&gt;
ECHO "%choice%" is not valid please try again&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Choice does not work in these case.&lt;br /&gt;
Please help regarding the same.&lt;br /&gt;
&lt;br /&gt;
Thanks &amp;amp; regards&lt;br /&gt;
&lt;br /&gt;
Uday Bhole&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/389113/389113/ask-user-for-input-string-/</guid>
      <pubDate>Tue, 14 Apr 2009 06:43:16 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Help Needed while connection from one sqlplus to another in batch file</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/388892/388892/help-needed-while-connection-from-one-sqlplus-to-another-in-batch-file/</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
How do i connect  from one sqlplus connection to another sqlplus connection in a batch file like...(Extract of the batch file)&lt;br /&gt;
&lt;br /&gt;
:RICDB&lt;br /&gt;
sqlplus cfgcent/cfgcent_3@dcs1d  @P:\061008\Release_Management_Process\06_04_09\get
_env.sql &lt;br /&gt;
sqlplus invctl_doc/babel_3@dcs1d @P:\061008\Release_Management_Process\06_04_09\run
.sql &lt;br /&gt;
&lt;br /&gt;
my problem is after connecting to one env (schema) it does not go to another.&lt;br /&gt;
&lt;br /&gt;
Also is there any way i can store the output of the sql statement into batch variable.&lt;br /&gt;
&lt;br /&gt;
Please Help.&lt;br /&gt;
&lt;br /&gt;
Thanks &amp;amp; regards&lt;br /&gt;
&lt;br /&gt;
uday Bhole&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/388892/388892/help-needed-while-connection-from-one-sqlplus-to-another-in-batch-file/</guid>
      <pubDate>Thu, 09 Apr 2009 09:51:14 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Compile a DOS C++ file in Windows</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/388857/388857/compile-a-dos-c++-file-in-windows/</link>
      <description>Hello,&lt;br /&gt;
&lt;br /&gt;
I need to compile a C++ file so that it will run in a DOS environment.  I am currently using Visual C++.  Is there a setting that I cna change to make it compile a DOS file?&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/388857/388857/compile-a-dos-c++-file-in-windows/</guid>
      <pubDate>Wed, 08 Apr 2009 13:30:42 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>640000?</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/388559/388559/640000/</link>
      <description>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/640000/</guid>
      <pubDate>Fri, 03 Apr 2009 22:52:12 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>ndir command to view long filename and owner</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/387320/387320/ndir-command-to-view-long-filename-and-owner/</link>
      <description>Greetings,&lt;br /&gt;
&lt;br /&gt;
I am having difficulty with a real easy one.  Im looking to obtain a list of files in a given directory that includes the long filename and owner of the file.  I'm using an ndir statement and am able to get the owners name and the short MS-Dos filename, but when the filenames are 15+ chars long that doesn't really help.  Any ideas??&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/387320/387320/ndir-command-to-view-long-filename-and-owner/</guid>
      <pubDate>Fri, 13 Mar 2009 19:50:28 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Redirecting output of a new console</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/385289/385289/redirecting-output-of-a-new-console/</link>
      <description>Hi all,&lt;br /&gt;
&lt;br /&gt;
When i use a command line tool, the output is displayed in a new console. I want to redirect that output. But i cant do that by executing,  &lt;br /&gt;
&lt;br /&gt;
Toolname.exe inputs &amp;gt; test.txt&lt;br /&gt;
&lt;br /&gt;
Help me to proceed my task.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/385289/385289/redirecting-output-of-a-new-console/</guid>
      <pubDate>Thu, 05 Feb 2009 09:04:21 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Copy a file across!!!!!</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/384333/384333/copy-a-file-across/</link>
      <description>Suppose i have a report.txt file i want to transfer it to 192.168.1.5 ip address. I tried almost every thing FTP and Batch, VBS but there is access denied error!&lt;br /&gt;
So is there any safe way to copy a  file across network on perticular IP address&lt;br /&gt;
Thank you &lt;br /&gt;
Configration : windows XP SP2, Visual BAsic 5, IE 6.0&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/384333/384333/copy-a-file-across/</guid>
      <pubDate>Tue, 13 Jan 2009 22:46:21 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Dos exe with no command line arguments</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/384311/384311/dos-exe-with-no-command-line-arguments/</link>
      <description>Hi,&lt;br /&gt;
I'm running a dos exe file which requires 3 inputs, but does not have any command line switches to allow me run the command from single line.&lt;br /&gt;
&lt;br /&gt;
This is what happens currently:&lt;br /&gt;
c:\&amp;gt;&lt;span style="color: Blue;"&gt;decode.exe&lt;/span&gt;&lt;br /&gt;
....running.....enter version 1, 2 or 3: &lt;span style="color: Blue;"&gt;3&lt;/span&gt;&lt;br /&gt;
....running.....enter input file path: &lt;span style="color: Blue;"&gt;c:\test1&lt;/span&gt;&lt;br /&gt;
....running.....enter output file path: &lt;span style="color: Blue;"&gt;c:\test1R&lt;/span&gt;&lt;br /&gt;
COMPLETE! Press enter to continue..&lt;br /&gt;
c:\&amp;gt;&lt;br /&gt;
(where I need to enter "&lt;span style="color: Blue;"&gt;decode.exe&lt;/span&gt;", "&lt;span style="color: Blue;"&gt;3&lt;/span&gt;", "&lt;span style="color: Blue;"&gt;c:\test1&lt;/span&gt;" and "&lt;span style="color: Blue;"&gt;c:\test1R&lt;/span&gt;" as seperate inputs)&lt;br /&gt;
&lt;br /&gt;
Ideally, I would like to use something like:&lt;br /&gt;
c:\&amp;gt;&lt;span style="color: Blue;"&gt;decode.exe 3 c:\test1 c:\test1R&lt;/span&gt;&lt;br /&gt;
But this will ignore the additional fields and wait for the version.&lt;br /&gt;
&lt;br /&gt;
I have tried pasting from notepad into the command window. This works, but the buffer will only allow about 5 lines and I need to run about 500!&lt;br /&gt;
&lt;br /&gt;
I have also tried using batch file to run one line after another, but the session hangs waiting for the response to the version question.&lt;br /&gt;
&lt;br /&gt;
Any help would be appreciated.&lt;br /&gt;
Thanks. &lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/384311/384311/dos-exe-with-no-command-line-arguments/</guid>
      <pubDate>Tue, 13 Jan 2009 08:50:48 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>hello, some dos advice?</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/384268/384268/hello-some-dos-advice/</link>
      <description>hello i was wondering is anybody could shead some light on a problem tht is happening in dos,&lt;br /&gt;
&lt;br /&gt;
im tryin to run some old skool dos games, which i remember from years back now i have most of them working but it is just one which im having trouble with,&lt;br /&gt;
&lt;br /&gt;
im using windows xp and a programme called dos box, the game im trying to run is the 1994 amtex game gonefishin lol i know..... these are the commands i use in dos box, i shall run through it all,&lt;br /&gt;
&lt;br /&gt;
z:/ mount c c:/games&lt;br /&gt;
&lt;br /&gt;
z:/c:/&lt;br /&gt;
&lt;br /&gt;
c:/cd gonefishin&lt;br /&gt;
&lt;br /&gt;
c:/gonefishing/setup&lt;br /&gt;
&lt;br /&gt;
now this is where i can make head or tail of it, it starts to load and then comes up with a message saying&lt;br /&gt;
&lt;br /&gt;
error reading config file: #5&lt;br /&gt;
&lt;br /&gt;
now i think that it have something to do with the soundblaster sound card which the game runs with, but i have downloaded a programme called vdmsound its the 1.7 version which says i can run the soundblaster setting through vdmsound,&lt;br /&gt;
&lt;br /&gt;
im so lost and im confusing myself more and more every day i try to get this game to run,&lt;br /&gt;
&lt;br /&gt;
can any one try and bring some light down on this, all replys are great appriciated&lt;br /&gt;
&lt;br /&gt;
chrs Andy&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/384268/384268/hello-some-dos-advice/</guid>
      <pubDate>Mon, 12 Jan 2009 14:16:57 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
  </channel>
</rss>