Annoyances.org
Home » Windows 98 Discussion Forum » Message 1015597683 Search | Help | Home
  
Tip: Run a free scan for common Windows errors ad

Defragging Windows Swap File
Friday, March 8, 2002 at 6:28 am
Windows 98 Annoyances Discussion Forum
Posted by Richard Reed (25 messages posted)


The one file Defrag does not defragment is the swap file (Win386.swp), but this is the one file of all which, when fragmented, will most hamper system peformance. Here's the method I discovered on my own for defragging it along with the entire C: drive -- 1. Shut down Windows to DOS Mode. 2. At the C:\WINDOWS prompt, type ERASE WIN386.SWP. 3. Press Ctrl-Alt-Del to reboot, then hold down the Ctrl key while the sytem restarts. 4. At the special boot-options screen, select Safe Mode. Windows will not re-create the swap file when it reboots via this method. 5. Run Defrag. Push the View Details button and note the absence of that big wad of 'unmovable' files near the end of the drive -- this means the swap file is not there. 6. After Defrag finishes, restart the computer in the normal fashion. Windows will re-create the swap file, but will only be able to do so at the beginning of blank space on the drive, which means that it will be written into a virtually contiguous block. 7. The swap file, as well as the rest of the drive, is now degragmented.


Responses to this message:
*re: Defragging Windows Swap File (Bobstur: Friday, March 8, 2002 at 7:32 am)
*re: Defragging Windows Swap File (Susan W. Simpson: Friday, March 8, 2002 at 7:45 am)
*re: Defragging Windows Swap File (smokey: Friday, March 8, 2002 at 5:14 pm)
*re: Defragging Windows Swap File (evilC: Friday, January 30, 2004 at 5:34 am)

All messages in this thread [show all]
-Defragging Windows Swap File (Richard Reed: Fri, Mar 8, 2002, 6:28 am)
-re: Defragging Windows Swap File (Bobstur: Fri, Mar 8, 2002, 7:32 am)
*re: Defragging Windows Swap File (Michael: Fri, Mar 8, 2002, 8:32 am)
*re: Defragging Windows Swap File (Redeye: Sat, Mar 9, 2002, 3:29 pm)
-re: Defragging Windows Swap File (Susan W. Simpson: Fri, Mar 8, 2002, 7:45 am)
-re: Defragging Windows Swap File (Richard Reed: Fri, Mar 8, 2002, 7:55 am)
*re: Defragging Windows Swap File (Susan W. Simpson: Sun, Mar 10, 2002, 5:50 am)
*re: Defragging Windows Swap File (Bobstur: Fri, Mar 8, 2002, 7:57 am)
*re: Defragging Windows Swap File (Karl Capek: Mon, May 27, 2002, 2:18 am)
*re: Defragging Windows Swap File (Karl Capek: Mon, May 27, 2002, 2:31 am)
*re: Defragging Windows Swap File (Billy: Wed, Sep 25, 2002, 10:35 pm)
*re: Defragging Windows Swap File (smokey: Fri, Mar 8, 2002, 5:14 pm)
-re: Defragging Windows Swap File (evilC: Fri, Jan 30, 2004, 5:34 am)
*re: Defragging Windows Swap File (Richard Reed: Fri, Jan 30, 2004, 9:19 am)
*re: Defragging Windows Swap File (Richard Reed: Fri, Jan 30, 2004, 10:29 am)
Return to the Windows 98 Discussion Forum


All content at Annoyances.org is Copyright © 1995-2008 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.