Prenumerera till Hur-Till Geek

Important! This is an automatic machine translated page. If you can read english, you should Click Here to read the original English version of the article.

Den Defrag multipeln kör hårt strax i Windows

Disken Defragment som är nytto- i Windows XP, inkluderar inte a långt till defragmenten alla hårda drev samtidigt, som är inconvienient, när du har mer än ett hårt drev i din dator.

Metoden som vi går att använda, är, genom att skapa en gruppera, sparar till defragmenten alla av drev, ett efter annat.

Diskdefragen som är nytto- i Windows XP, kan startas från befalla fodrar med efter syntaxen:

Den Windows disken Defragmenter
 tar copyrightt på (c) Microsoft Corp. 2001 och Utöva Programvara Landskamp, Inc.
Användning:
defrag <volym> [- a] [- f] [- v] [-?]
    volymdrev märker eller monteringen för att peka (D: eller d:\vol\mountpoint)
  - a      Analysera endast
  - f      Tvinga defragmentationen om även fritt utrymme är lågt
  - v      Tillverkat Verbose
  -?      Visa denna hjälptext

Först ska vi skapar en spara som namngavs defragall.bat och förlägger den någonstans dig något liknande, så länge som du ska minns var den är. Om du önskar att köra det från befalla, fodra, dig kunde förlägga den i \ fönsterarkiv, så att det ska är tillgängligt i systembanan.

Tillfoga en fodra till gruppera sparar för varje hårt drev. För anföra som exempel, om vi önskar till defragmentdrev C: , D: , och F: vi ska tillfogar dessa tre fodrar:

defrag c: - f
defrag D: - f
defrag f: - f

Att köra defragen som är rättvis endera, dubblett-klickar på gruppera sparar eller startar den från befalla för att fodra.

| Mer
Denna artikel var ursprungligen skriftlig på 11/22/06 Märkt med: Skräddarsy: Spetsar & Tweaks, Windows

Dagligen e-postuppdateringar

Du kan få vår hur-till artiklar i din inbox varje dag för fritt. Skriv in precis din nedanföra känt och e-post:


Känt:
E-post:

Comments (13)

  1. jkugler

    I have already done this but was wondering if there is a way to not show the command line box when the batch is exicuted or atleast start it minimized? Any help would be a appreciated. Tthank You in advance.

  2. visitor

    @echo off

  3. Dean

    Thanks. This is truly an eye opener….

  4. Tie 1 On

    I have made the Defrag batch file, but i’m not sure if it’s working properly. Is there any way of seeing the progress of the defrag?

  5. Rajagopalan R

    Hai,

    Earlier, I was having the problem to see the hidden folders, though I checked the radio button “Show all hidden folder & files” option. But after installing revmon killer, I got relief. Now I am facing a new problem that always a cursor of sand glass is sticking with the cursor arrow (point). How could I clear ? Also when I click the hard drive, I could open them instead a pop up window open with the heading of “script…” When I right click on the drive, I found “Auto play” command as the first command in the pane. How could I clear this problem. My pc becomes very slow. Please help to solve my problems

  6. Leandro

    Create this archive .vbs!!! And create job in Scheduled Task!!!

    ‘——————————————————————————–

    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
    ‘——————————————————————————-

  7. Al Biheiri

    @Tie 1 On — add -v

    “I have made the Defrag batch file, but i’m not sure if it’s working properly. Is there any way of seeing the progress of the defrag?”

  8. Phil

    defrag c: -f
    defrag d: -f
    defrag f: -f

    does not work in a batch file

  9. Philip G Martin

    Correction. Does not work if you name your batch file “defrag.bat”

  10. francis mendoza

    try this

    @echo off
    c:\WINDOWS\system32\defrag c: /f
    c:\WINDOWS\system32\defrag d: /f
    c:\WINDOWS\system32\defrag e: /f
    pause

  11. francis mendoza

    open notepad then type

    @echo off
    c:\WINDOWS\system32\defrag c: /f
    c:\WINDOWS\system32\defrag d: /f
    c:\WINDOWS\system32\defrag e: /f
    pause

    then save the file in filename.bat extension
    then double click the file then you have
    your automatic defrag for all drive

    hope this will help you guys

  12. Robert Ryken

    How do I open a notpad e-mail

  13. shinchan

    defrag c:
    defrag d:
    defrag e:

    this didnt work for me, only the c drive was defragmented and the remaining drives were skipped i dont know why , can anybody tell me ?


Leave a Comment




Leave your friendly comment here.

If you have a computer help question, click here to leave it on the forums instead.

Note: Your comment may not show up immediately on the site.

Our Friends
Getting Started


About How-To Geek
What Is That Process?
svchost.exe
jusched.exe
dwm.exe
ctfmon.exe
wmpnetwk.exe
wmpnscfg.exe
rundll32.exe
wfcrun32.exe
Ipoint.exe
Itype.exe
Wfica32.exe
Mobsync.exe
conhost.exe
Dpupdchk.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. All Rights Reserved.