Ann, I use this .VBS written by "Doug Knox" to defrag XP, and it works just
great.
1) Copy the script below starting with 'defrag_all.vbs and paste in Notepad
2) Next save as "defrag_all.vbs" without quotes,  to your Desktop
3) Click on the VBS Icon which will Run CMD and defrag ALL HD.

HTH,
Ed
[EMAIL PROTECTED]

'defrag_all.vbs - Defrags all hard disks - Can be run as a Scheduled Task
'� Doug Knox - 3/29/2002
'This code may be freely distributed/modified

Set WshShell = WScript.CreateObject("WScript.Shell")

   Dim fso, d, dc
   Set fso = CreateObject("Scripting.FileSystemObject")
   Set dc = fso.Drives
   For Each d in dc
      If d.DriveType = 2 Then
 Return = WshShell.Run("defrag " & d & " -f", 1, TRUE)
      End If
   Next

Set WshShell = Nothing

----- Original Message -----
From: "Ann Parker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 24, 2002 2:43 PM
Subject: Re: PCWorks: Registry question


Clint, why can't I do that the regular way with XP?  It has a "none" thing
to click on.  I haven't tried it, as I always start in safe mode when I
defrag and that seems to cut off screen savers and most everything else.
Ann Parker


Jeff, what OS is this?  If it's 98xx and not XP, why not do
it the regular way?  Go to display properties, then open the
'screen saver' tab.  Set that to 'none', then click
'settings', then set monitor to never power down.
-Clint
============= PCWorks Mailing List =================
Don't see your post? Check our posting guidelines &
make sure you've followed proper posting procedures,
http://pcworkers.com/rules.htm
Contact list owner <[EMAIL PROTECTED]>
Unsubscribing and other changes: http://pcworkers.com
=====================================================

Reply via email to