Scheduling defragmentation

M

Marshall D Abrams

I would like to schedule defragmentation to run in the wee hours
weekly or monthly as experience indicates is necessary. I found a help
file at microsoft that explains the options on the defrag command.

I usually use WinCron to schedule events. I made an entry for defrag
and started it. I couldn't tell if defrag was running. I looked in
task manager and didn't see anything. I assumed there would be a
process named defrag.

Is there a reason why it would be better to use the Windows task
scheduler?
 
R

Rick \Nutcase\ Rogers

Hi,

See this from MVP Kelly:
http://www.kellys-korner-xp.com/xp_tweaks.htm
Click on Utilities, there is a tweak here to defrag all drives as a task.
This function is not natively supported.

--
Best of Luck,

Rick Rogers aka "Nutcase" MS-MVP - Win9x
Windows isn't rocket science! That's my other hobby!

Associate Expert - WinXP - Expert Zone
 
M

Marshall D Abrams

Since I "grew up" in DOS, I still use bat files. I successfully used
the following:

C:\lib\datetime > c:\bat\del_old.log
echo "starting defrag C: " >>c:\bat\defrag-c.log
C:\windows\system32\defrag c:\ -v >>c:\bat\defrag-c.log
echo "finished defrag" >> c:\bat\defrag-c.log
C:\lib\datetime >> c:\bat\defrag-c.log
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top