Cannot Delete, Rename, or Move 386spart.par File

Last reviewed: June 11, 1997
Article ID: Q169925
The information in this article applies to:
  • Microsoft Windows 95

SYMPTOMS

You are unable to delete, rename, or move the 386spart.par file.

CAUSE

The previous version of Windows installed on your computer used a permanent swap file named 386spart.par. This file is often retained when you upgrade to Windows 95.

RESOLUTION

To delete the 386spart.par file and allow Windows 95 to use a dynamic swap file, follow these steps:

  1. Restart the computer. Press the F8 key when you see the "Starting Windows 95" message, and then choose Safe Mode Command Prompt Only from the Startup menu.

  2. At the command prompt, type the following lines, pressing ENTER after each line:

          cd windows
          edit system.ini
    

  3. Disable any of the following lines you find in the [386Enh] section by placing a semicolon (;) at the beginning of the line:

          Pagingfile=<drive>386spart.par
          PermSwapDOSDrive=C
          PermSwapSizeK=<kilobytes>
    

    Make sure to note the drive specified for the "Pagingfile=" line.

  4. Save and then close the System.ini file.

  5. Type the following lines, pressing ENTER after each line:

          cd\ 
          deltree 386spart.par
    

    NOTE: If the 386spart.par file is located on a different drive from the Windows folder, first change to the drive specified on the "Pagingfile=" line by typing the following line and then pressing ENTER

          <drive>:
          
    
    where <drive>: is the drive letter. Then, type the two lines above.

  6. Restart your computer normally.

When you restart the computer, Windows 95 creates and uses the standard Windows 95 swap file, which is dynamic.

To rename or move the 386spart.par file, follow these steps:

  1. Restart the computer. Press the F8 key when you see the "Starting Windows 95" message, and then choose Safe Mode Command Prompt Only from the Startup menu.

  2. At the command prompt, if the 386spart.par file is located on a drive other than drive C, type the following line and then press ENTER

          <drive>:
         
    
    where <drive>: is the drive on which the 386spart.par file is located.

  3. Type the following line, and then press ENTER:

          attrib -r -h -s 386spart.par
    

  4. To rename or move the 386spart.par file, use the appropriate method:

Rename

To rename the 386spart.par file, type the following line, and then press ENTER:

   ren 386spart.par 386spart.paa

NOTE: This command assumes you do not have a file named 386spart.paa. If you do have a file named 386spart.paa, select a file name extension that is not currently in use.

Move

To move the 386spart.par file, type the following line, and press then ENTER

   move 386spart.par <drive>: <path>\<filename>

where <drive>: is the drive on which the 386spart.par file is located.

MORE INFORMATION

The 386spart.par file is the Windows 3.x permanent swap file. The 386spart.par file has a fixed size and must occupy contiguous clusters at a fixed location on the drive. The Spart.par file located in the Windows folder is the pointer file that tells Windows on which drive the 386spart.par file is located and how large it is. These two files provide virtual memory for Windows 3.x, which can be inherited by Windows 95 when you upgrade.

The default Windows 95 swap file (Win386.swp) is located in the Windows folder and can be non-contiguous. The Win386.swp file size changes dynamically with the demands from the system. Windows 95 creates this file at startup if the file is not found.

When you upgrade a Windows 3.x installation that uses a permanent swap file, Windows 95 may use the existing 386spart.par file as its swap file instead of creating the Win386.swp file. When Windows 95 uses the 386spart.par file, the file can grow in size if the system requires more virtual memory, but it can never shrink below the size defined by the "PermSwapSizeK=" line.


Additional query words: 95
Keywords : kbenv kbtool win95
Version : 95
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 11, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.