Sam

Distinguished
Mar 30, 2004
866
0
18,980
Archived from groups: microsoft.public.windowsxp.configuration_manage (More info?)

I'm trying to set up a scheduled task to automate the defrag process. I've
done some research for command line things, and what I have now is
"C:\WINDOWS\System32\defrag.exe C: /f" Every place says the /f is supposed
to force it to defrag, but all I'm getting when I run this is the analysis.
Anyone know any better way to do this? Thanks
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.configuration_manage (More info?)

Sam,

defrag c: -f

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


"Sam" <Sam@discussions.microsoft.com> wrote in message news:398C2DCA-8459-41EC-936E-FF0F57C32CF2@microsoft.com...
> I'm trying to set up a scheduled task to automate the defrag process. I've
> done some research for command line things, and what I have now is
> "C:\WINDOWS\System32\defrag.exe C: /f" Every place says the /f is supposed
> to force it to defrag, but all I'm getting when I run this is the analysis.
> Anyone know any better way to do this? Thanks
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.configuration_manage (More info?)

Sam <Sam@discussions.microsoft.com> wrote:

>I'm trying to set up a scheduled task to automate the defrag process. I've
>done some research for command line things, and what I have now is
>"C:\WINDOWS\System32\defrag.exe C: /f" Every place says the /f is supposed
>to force it to defrag, but all I'm getting when I run this is the analysis.
>Anyone know any better way to do this? Thanks

DEFRAG /? says
-f
is the parameter.

--
(tm)