Defragging More Than One Partition

  • Thread starter Thread starter Canopus
  • Start date Start date
C

Canopus

On W98se I could select either individual partitions to defrag or all
partitions, I don't seem to have that option of XP Pro, can only defrag one
partition, wait until it finishes, then have to select the next partition
to defrag etc. Is there any way to opt to defrag one partition after
another without human intervention as I would like to do this so that it
will run while I go off to do something else?
 
Canopus said:
On W98se I could select either individual partitions to defrag or all
partitions, I don't seem to have that option of XP Pro, can only defrag
one
partition, wait until it finishes, then have to select the next partition
to defrag etc. Is there any way to opt to defrag one partition after
another without human intervention as I would like to do this so that it
will run while I go off to do something else?

Get the commercial version of Diskeeper (the 'watered-down' version of which
is incorporated in XP).
It has a neat feature called: "Set it and forget it" allowing you to specify
what you want, once, and the program will keep your disks defragmented
automatically when using the system, but mainly done during low system
activity.

george
 
You can do exactly what you want through a batch file or command prompt.
Just type -
DEFRAG C: /f
DEFRAG D: /f
DEFRAG E: /f

The C, D, and E, of course, are your partitions while the '/f' forces the
defrag. Change drive letters to correspond with drives you want to defrag.
Or you can save this as a batch file and set it up in Task Scheduler to run
occasionally on a schedule.
 
ras said:
You can do exactly what you want through a batch file or command prompt.
Just type -
DEFRAG C: /f
DEFRAG D: /f
DEFRAG E: /f

The C, D, and E, of course, are your partitions while the '/f' forces the
defrag. Change drive letters to correspond with drives you want to defrag.
Or you can save this as a batch file and set it up in Task Scheduler to run
occasionally on a schedule.

Now this looks very hopeful. I've never delved into Batch Files so looked
it up in the Windows Help. I understand a batch file is an unformatted text
file with a bat or cmd extension and they can be activated via the Run box..
I cannot figure out though how to save the text file as a BAT or CMD file,
I'm only offered txt or various html type saves.

Rob
 
Bob,

To save it into a BAT file, please have it typed in Notepad or Wordpad. When
you do a Save As, under File Types, please select All Files.

Next, under filename, please type in [filename].bat to save it as a .BAT
file.

Hope this helps.
 
Jabez Gan said:
Bob,

To save it into a BAT file, please have it typed in Notepad or Wordpad. When
you do a Save As, under File Types, please select All Files.

Next, under filename, please type in [filename].bat to save it as a .BAT
file.

Hope this helps.

--
Jabez Gan
Give me a chance, Let me help you!
http://www.blizhosting.com


Canopus said:
Now this looks very hopeful. I've never delved into Batch Files so looked
it up in the Windows Help. I understand a batch file is an unformatted
text
file with a bat or cmd extension and they can be activated via the Run
box..
I cannot figure out though how to save the text file as a BAT or CMD file,
I'm only offered txt or various html type saves.

Rob

Ah, simple, thanks. This is opening up a whole new approach to my PC for
me. Next question, do I have to place the batch file anywhere in
particular, like the root of my C: partition and do I have to type the path
to it in the Run box or just input its name?

Rob
 
Rob,

Just save the BAT file anywhere you want. And once you want to start defrag,
just double click on the BAT file (or run the BAT file). It will launch the
scripts in the BAT file.

Hope this helps.

--
Jabez Gan
Give me a chance, Let me help you!
http://www.blizhosting.com


Canopus said:
Jabez Gan said:
Bob,

To save it into a BAT file, please have it typed in Notepad or Wordpad. When
you do a Save As, under File Types, please select All Files.

Next, under filename, please type in [filename].bat to save it as a .BAT
file.

Hope this helps.

--
Jabez Gan
Give me a chance, Let me help you!
http://www.blizhosting.com


Canopus said:
You can do exactly what you want through a batch file or command prompt.
Just type -
DEFRAG C: /f
DEFRAG D: /f
DEFRAG E: /f

The C, D, and E, of course, are your partitions while the '/f' forces the
defrag. Change drive letters to correspond with drives you want to
defrag.
Or you can save this as a batch file and set it up in Task Scheduler
to
run
occasionally on a schedule.



Now this looks very hopeful. I've never delved into Batch Files so looked
it up in the Windows Help. I understand a batch file is an unformatted
text
file with a bat or cmd extension and they can be activated via the Run
box..
I cannot figure out though how to save the text file as a BAT or CMD file,
I'm only offered txt or various html type saves.

Rob

Ah, simple, thanks. This is opening up a whole new approach to my PC for
me. Next question, do I have to place the batch file anywhere in
particular, like the root of my C: partition and do I have to type the
path
to it in the Run box or just input its name?

Rob
 
Jabez Gan said:
Rob,

Just save the BAT file anywhere you want. And once you want to start defrag,
just double click on the BAT file (or run the BAT file). It will launch the
scripts in the BAT file.

Hope this helps.

That worked perfectly, thanks. Running Defrag that way also seems to speed
up defragging a bit. Whole new vistas open up with batch files :-)

Rob
 
Back
Top