Microsoft KB Archive/90954

{|
 * width="100%"|

-

The information in this article applies to:


 * Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, 2.5a

-

SUMMARY
By default, the Microsoft FoxPro FoxSwap utility creates a temporary file in the directory in which FoxPro is installed. However, you can change the destination for the swap file by changing the current MS-DOS directory with the RUN CD command before running FoxSwap.

MORE INFORMATION
For example, issuing the RUN CD A: command before issuing the RUN/0 command instructs FoxSwap to place its temporary swap file on drive A when FoxPro loads the specified application.

If the swap file drive is write-protected, an MS-DOS write protect error occurs. If the swap file drive does not have enough free space to store the swap file, a &quot;Disk full writing to swap file&quot; error occurs.

When the user terminates the called program, FoxSwap loads the data from the swap file back into memory. Unless the swap file is marked read-only, FoxSwap attempts to remove the swap file.

If FoxSwap is unable to locate the swap file on the swap drive, FoxSwap displays the following fatal error message and halts the system:

Error reopening swap file. System halted.

FoxSwap is called only if the called application does not fit into available memory. Additional query words: FoxDos diskless remote network error 2.x errmsg err msg swapfile

Keywords         : Version          : Platform         : Issue type       :
 * }