Tony said:
Simple question I hope! When I set up a scheduled task to defragment
my hard drive, what is the path to the defrag .exe program please?
This must be easy but I can't find it and don't know what the .exe
file is called
Thanks in anticipation
Tony
Try this (from the Langalist)
For Win98/Me/XP (Home and Pro), just run NotePad, and enter one line into a
new file:
defrag c:
Save the file and name it "defrag c.bat" or any similar, obvious name ending
in ".bat". You then can click on the file to manually trigger a defrag of
C:. or you can use Task Scheduler to run the batch file whenever you want,
such as late at night.
If you have other drives, you can either defrag them via separate batch
files (a "defrag d.bat" file would contain just the line "defrag d:" for
example), or you can enter the lines serially into one batch file.
I have a file called "defrag_all.bat" for example, and it contains these
lines:
defrag c:
defrag d:
defrag e:
defrag f:
When run, defrag_all.bat defrags the drives one after the other.