View Full Version : defragmenting on a schedule
Blake Young
December 11th 03, 09:19 PM
Is there any way to set a defragment schedule so that the hard drive will
automatically defragment, say for example, once every week? I tried using
the Task Scheduler and adding the program "dfrg.msc", but when the Task
Scheduler executes the program it only opens up the defragmenter program,
and it doesn't actually run it, which is what I need it to do. Any help?
Thanks.
Paul Howes
December 11th 03, 09:19 PM
I use use a batch file which runs an AT command to remotely defragment the
workstations on our network as shown below.
AT \\computername 16:05 /interactive defrag c: -f.
You could also set this up locally and schedule it for once a week. For
details on the 'AT@ command, go to the command prompt and type AT /?
CheerZ
"Blake Young" > wrote in message
...
> Is there any way to set a defragment schedule so that the hard drive will
> automatically defragment, say for example, once every week? I tried using
> the Task Scheduler and adding the program "dfrg.msc", but when the Task
> Scheduler executes the program it only opens up the defragmenter program,
> and it doesn't actually run it, which is what I need it to do. Any help?
> Thanks.
>
>
>
Blake Young
December 11th 03, 09:19 PM
Awesome. Thanks for the help. I just created a file called DEFRAG.BAT with
the line:
defrag c:
and I set the Windows Task Schedule to run this file once a week. This
should work right?
Also, the command-prompt "defrag.exe" and the Windows-environment Disk
Defragmenter are identical in the way they work correct (i.e., one isn't
better than the other)?
Thanks.
"Paul Howes" > wrote in message
...
> I use use a batch file which runs an AT command to remotely defragment the
> workstations on our network as shown below.
> AT \\computername 16:05 /interactive defrag c: -f.
> You could also set this up locally and schedule it for once a week. For
> details on the 'AT@ command, go to the command prompt and type AT /?
>
> CheerZ
>
> "Blake Young" > wrote in message
> ...
> > Is there any way to set a defragment schedule so that the hard drive
will
> > automatically defragment, say for example, once every week? I tried
using
> > the Task Scheduler and adding the program "dfrg.msc", but when the Task
> > Scheduler executes the program it only opens up the defragmenter
program,
> > and it doesn't actually run it, which is what I need it to do. Any
help?
> > Thanks.
> >
> >
> >
>
>
Paul Howes
December 11th 03, 09:22 PM
As far as im aware it is identical to Defrag GUI in Windows.
CheerZ
"Blake Young" > wrote in message
...
> Awesome. Thanks for the help. I just created a file called DEFRAG.BAT
with
> the line:
> defrag c:
> and I set the Windows Task Schedule to run this file once a week. This
> should work right?
>
> Also, the command-prompt "defrag.exe" and the Windows-environment Disk
> Defragmenter are identical in the way they work correct (i.e., one isn't
> better than the other)?
>
> Thanks.
>
> "Paul Howes" > wrote in message
> ...
> > I use use a batch file which runs an AT command to remotely defragment
the
> > workstations on our network as shown below.
> > AT \\computername 16:05 /interactive defrag c: -f.
> > You could also set this up locally and schedule it for once a week. For
> > details on the 'AT@ command, go to the command prompt and type AT /?
> >
> > CheerZ
> >
> > "Blake Young" > wrote in message
> > ...
> > > Is there any way to set a defragment schedule so that the hard drive
> will
> > > automatically defragment, say for example, once every week? I tried
> using
> > > the Task Scheduler and adding the program "dfrg.msc", but when the
Task
> > > Scheduler executes the program it only opens up the defragmenter
> program,
> > > and it doesn't actually run it, which is what I need it to do. Any
> help?
> > > Thanks.
> > >
> > >
> > >
> >
> >
>
>
vBulletin® v3.6.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.