Microsoft KB Archive/73707

= Microsoft Knowledge Base =

PD0445: Replacement DOSSWAP.EXE for MS-DOS 5.0
Last reviewed: May 1, 1997

Article ID: Q73707

5.00 MS-DOS kbtool kbfile kbappnote

The information in this article applies to:


 * Microsoft MS-DOS operating system version 5.0

There are known problems in Microsoft MS-DOS version 5.0 Shell that can cause Task Swapper to fail when swapping certain applications. The problems may result in erratic behavior from the program(s) you are swapping. These problems do not occur in later versions of MS-DOS.

The Application Note titled &quot;Replacement DOSSWAP.EXE for MS-DOS 5.0&quot; (PD0445) includes a replacement DOSSWAP.EXE program that corrects these problems. You can obtain this Application Note from the following sources:

You can obtain this Application Note from the following sources:


 * Microsoft's World Wide Web Site on the Internet
 * The Internet (Microsoft anonymous ftp server)
 * Microsoft Download Service (MSDL)
 * Microsoft Product Support Services

For complete information, see the &quot;To Obtain This Application Note&quot; section at the end of this article.

THE TEXT OF PD0445
Microsoft Product Support Services Application Note (Text File) PD0445: REPLACEMENT DOSSWAP.EXE FOR MS-DOS 5.0 Revision Date: 10/91 Disk Included The following information applies to Microsoft MS-DOS version 5.0.

| INFORMATION PROVIDED IN THIS DOCUMENT AND ANY SOFTWARE THAT MAY   |
 * ACCOMPANY THIS DOCUMENT (collectively referred to as an           |
 * Application Note) IS PROVIDED &quot;AS IS&quot; WITHOUT WARRANTY OF ANY     |
 * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO   |
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A    |
 * PARTICULAR PURPOSE. The user assumes the entire risk as to the    |
 * accuracy and the use of this Application Note. This Application   |
 * Note may be copied and distributed subject to the following       |
 * conditions: 1) All text must be copied without modification and   |
 * all pages must be included; 2) If software is included, all files |
 * on the disk(s) must be copied without modification [the MS-DOS(R) |
 * utility DISKCOPY is appropriate for this purpose]; 3) All         |
 * components of this Application Note must be distributed together; |
 * and 4) This Application Note may not be distributed for profit.   |
 * Copyright 1991 Microsoft Corporation. All Rights Reserved.        |
 * Microsoft, MS-DOS, and the Microsoft logo are registered          |
 * trademarks and Windows is a trademark of Microsoft Corporation.   |
 * trademarks and Windows is a trademark of Microsoft Corporation.   |

Introduction
The disk provided with this application note contains DOSSWAP.EXE, a replacement for the DOSSWAP.EXE file that is included with MS-DOS version 5.0. The replacement file corrects problems in the original DOSSWAP.EXE file that causes Task Swapper in MS-DOS Shell to fail when switching between some applications. In particular, the original DOSSWAP.EXE does not swap expanded memory properly. This causes problems when switching among two or more applications that use expanded memory.

Replacing DOSSWAP.EXE
Please follow these steps to update your DOSSWAP.EXE file:

 Insert the enclosed PD0445 disk in floppy disk drive A.  At the command prompt, type the following and press ENTER copy a:\dosswap.exe where is the drive and directory where your MS-DOS files are located. For example, if your MS-DOS files are located in the DOS directory on drive C, type the following command: copy a:\dosswap.exe c:\dos NOTE: If you are copying DOSSWAP.EXE from a drive other than A,   substitute the appropriate drive letter for &quot;a&quot; in the above command. 

A message will be displayed stating: &quot;1 file(s) copied.&quot; This indicates your DOSSWAP.EXE file has been successfully replaced.

TO OBTAIN THIS APPLICATION NOTE

 * Application Notes are available by modem from the Microsoft Download Service (MSDL), which you can reach by calling (425) 936-6735. This service is available 24 hours a day, 7 days a week. The highest download speed available is 14,400 bits per second (bps). For more information about using the MSDL, call (800) 936-4200 and follow the prompts. To obtain PD0445, download PD0445.EXE. PD0445.EXE is a compressed, self-extracting file. After you download PD0445, run it to extract the file(s) it contains.
 * On the Internet, Application Notes are located on the Microsoft anonymous ftp server, which you can reach by typing &quot;ftp ftp.microsoft.com&quot; (without the quotation marks) at the &quot;>&quot; command prompt.
 * If you are unable to access the source(s) listed above, you can have this Application Note mailed or faxed to you by calling Microsoft Product Support Services Monday through Friday, 6:00 A.M. to 6:00 P.M. Pacific time at (425) 646-5104. If you are outside the United States, contact the Microsoft subsidiary for your area.