Defrag

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i am trying to run defrag through a Command Prompt. I type "Defrag C:/ -f"
It gives all of the OS info., pauses for a few seconds then give me my hard
drive info. and fragmentation info. Then it doesnt do anything. I waited out
25 minutes in front of the computer watching it do nothing. The loading LED
on my tower is flashing but for 25 minutes the Command prompt line just
blinks. Is this normal or is there some error?
 
That's normal on my machine. Defrag via: Start>All
Programs>Accessories>System Tools.
--
Bruce Hagen
MS-MVP - (IE/OE)
~IB-CA~

"thunderstruck_302"
message
news:[email protected]...
 
Ok, thnx Bruce and Gerry. Just one thing. I let it run again. It did the same
thing: Gave the Microsoft information------> paused a few seconds hten gave
the analysis report with the Hard drive info. and with it it said "0%
fragmented (0% file fragmentation)-------->
Let it run for a few minutes then said Defragmentation report and it said
the exact same thing as the Analysis report with 0% and all beside it. Then
it was finished because it was ready for another command prompt.
 
so what does that mean? Does that mean that it had nothing to defrag because
it was all done defraging before? If so thats good
 
From Microsoft Windows XP Inside Out:

To open the graphical Disk Defragmenter console, use any of
the following techniques:

* From the All Programs menu, choose Accessories>System
Tools>Disk Defragmenter.

*From the My Computer window, right click any drive icon and
choose Properties from the shortcut menu. Then click the
Tools tab and click Defragment Now.

*Run Dfrg.msc from a command prompt.

*Right click on the My Computer icon on the Start Menu and
choose Manage from the shortcut menu. In the Computer
Management console, open the Storage option in the console
pane and select Disk Defragmenter.

(Defrag C:/ -f) does not start a Defrag.
--
Bruce Hagen
MS-MVP - (IE/OE)
~IB-CA~

"thunderstruck_302"
message
 
Yes, it does.

There are two defrag tools in XP.

Dfrg.msc is the pretty one that opens from
Start\All Programs\Accessories\System Tools.

defrag.exe = Disk Defragmenter Module, the command line tool.

defrag.exe is the command line tool that runs from a command prompt.
defrag.exe is the one that you can schedule.

Defrag C:/ -f starts defrag.exe on C and forces defragmentation even if
free space is low.

The / isn't needed in the line above.

Defrag C: /f starts defrag.exe on C and forces defragmentation even if free
space is low.

Defrag C: -f starts defrag.exe on C and forces defragmentation even if free
space is low.

- and / work the same. They denote the switch(es). You can use one or the
other.

Just like defrag -? is the same as defrag /?

C:\>Defrag /?
Usage:
Defrag <volume> [-a] [-f] [-v] [-?]
volume drive letter or mount point (d: or d:\vol\mountpoint)
-a Analyze only
-f Force defragmentation even if free space is low
-v Verbose output
-? Display this help text

C:\>defrag -?
Usage:
defrag <volume> [-a] [-f] [-v] [-?]
volume drive letter or mount point (d: or d:\vol\mountpoint)
-a Analyze only
-f Force defragmentation even if free space is low
-v Verbose output
-? Display this help text

From Microsoft Windows XP Inside Out, Second Edition:
Page 1245 & 1246

<quote>
[[Running Disk Defragmenter Using a Command Line
The command-line version of the Defrag utility uses the exact same program
code as the graphical version. To use this command, type defrag d: at any
command prompt, where d is the drive letter or mount point of an existing
volume. (For an explanation of mount points, see “Assigning and Changing
Drive Letters or Drive Paths,” page 765.) You can use the following switches
with the Defrag command:

• /A Analyzes the selected drive or volume and displays a summary of the
analysis report.
• /V Displays complete (verbose) reports. When used in combination with
/A, this switch displays only the analysis report. When used alone,
it displays both the analysis and defragmentation reports.
• /F Forces defragmentation of the volume even if the amount of free space
is low.

The command-line Disk Defragmenter does not provide any progress indicator
except for a blinking cursor. To interrupt the defragmentation process,
click in the command window and press Ctrl+C.]]
<end quote>

Defrag
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/defrag.mspx

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
I stand corrected. What caused my confusion was the link the
OP cited as his source, and there is no mention of that
command at that link. I should have turned to the next page
in the manual. I did mention that it appeared to have worked
since after doing it via a command prompt, I did a Defrag
using Start>Programs.... and it only took a few seconds.

Link from the OP:
http://www.microsoft.com/resources/...Windows/XP/all/reskit/en-us/prkd_tro_viho.asp
--
Bruce Hagen
MS-MVP - (IE/OE)
~IB-CA~

Wesley Vogel said:
Yes, it does.

There are two defrag tools in XP.

Dfrg.msc is the pretty one that opens from
Start\All Programs\Accessories\System Tools.

defrag.exe = Disk Defragmenter Module, the command line
tool.

defrag.exe is the command line tool that runs from a
command prompt.
defrag.exe is the one that you can schedule.

Defrag C:/ -f starts defrag.exe on C and forces
defragmentation even if
free space is low.

The / isn't needed in the line above.

Defrag C: /f starts defrag.exe on C and forces
defragmentation even if free
space is low.

Defrag C: -f starts defrag.exe on C and forces
defragmentation even if free
space is low.

- and / work the same. They denote the switch(es). You
can use one or the
other.

Just like defrag -? is the same as defrag /?

C:\>Defrag /?
Usage:
Defrag <volume> [-a] [-f] [-v] [-?]
volume drive letter or mount point (d: or
d:\vol\mountpoint)
-a Analyze only
-f Force defragmentation even if free space is low
-v Verbose output
-? Display this help text

C:\>defrag -?
Usage:
defrag <volume> [-a] [-f] [-v] [-?]
volume drive letter or mount point (d: or
d:\vol\mountpoint)
-a Analyze only
-f Force defragmentation even if free space is low
-v Verbose output
-? Display this help text

From Microsoft Windows XP Inside Out, Second Edition:
Page 1245 & 1246

<quote>
[[Running Disk Defragmenter Using a Command Line
The command-line version of the Defrag utility uses the
exact same program
code as the graphical version. To use this command, type
defrag d: at any
command prompt, where d is the drive letter or mount point
of an existing
volume. (For an explanation of mount points, see
“Assigning and Changing
Drive Letters or Drive Paths,” page 765.) You can use the
following switches
with the Defrag command:

• /A Analyzes the selected drive or volume and displays
a summary of the
analysis report.
• /V Displays complete (verbose) reports. When used in
combination with
/A, this switch displays only the analysis report.
When used alone,
it displays both the analysis and defragmentation
reports.
• /F Forces defragmentation of the volume even if the
amount of free space
is low.

The command-line Disk Defragmenter does not provide any
progress indicator
except for a blinking cursor. To interrupt the
defragmentation process,
click in the command window and press Ctrl+C.]]
<end quote>

Defrag
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/defrag.mspx

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
Bruce Hagen said:
From Microsoft Windows XP Inside Out:

To open the graphical Disk Defragmenter console, use any
of
the following techniques:

* From the All Programs menu, choose Accessories>System
Tools>Disk Defragmenter.

*From the My Computer window, right click any drive icon
and
choose Properties from the shortcut menu. Then click the
Tools tab and click Defragment Now.

*Run Dfrg.msc from a command prompt.

*Right click on the My Computer icon on the Start Menu
and
choose Manage from the shortcut menu. In the Computer
Management console, open the Storage option in the
console
pane and select Disk Defragmenter.

(Defrag C:/ -f) does not start a Defrag.
--
Bruce Hagen
MS-MVP - (IE/OE)
~IB-CA~

"thunderstruck_302"
message
 
Hi Bruce,

I don't believe that I could stand if I weren't corrected. <LOL> Luckily
I get corrected quite often.

One thing I know for sure is that Windows always has more than one way to do
anything. ;-) And it's up to the user to figure 'em out.

With any of the external commands that everyone bandies about, they usually
leave off the extension. With command line commands the extension is
usually .exe, not always. I.e. sfc.exe, tasklist.exe, cmd.exe, control.exe,
chkdsk.exe, ipconfig.exe, msconfig.exe, msinfo32.exe, regedit.exe, etc. I
almost typed etc.exe. :-) But there are a few .coms still in use, like
more.com, command.com, tree.com and diskcopy.com.

BTW, the pathext environment variable controls what extensions don't need to
be typed in a command prompt or Run box. %PATHEXT% = List of file
extensions that are considered to be executable.

..COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
Bruce Hagen said:
I stand corrected. What caused my confusion was the link the
OP cited as his source, and there is no mention of that
command at that link. I should have turned to the next page
in the manual. I did mention that it appeared to have worked
since after doing it via a command prompt, I did a Defrag
using Start>Programs.... and it only took a few seconds.

Link from the OP:
http://www.microsoft.com/resources/...Windows/XP/all/reskit/en-us/prkd_tro_viho.asp
--
Bruce Hagen
MS-MVP - (IE/OE)
~IB-CA~

Wesley Vogel said:
Yes, it does.

There are two defrag tools in XP.

Dfrg.msc is the pretty one that opens from
Start\All Programs\Accessories\System Tools.

defrag.exe = Disk Defragmenter Module, the command line
tool.

defrag.exe is the command line tool that runs from a
command prompt.
defrag.exe is the one that you can schedule.

Defrag C:/ -f starts defrag.exe on C and forces
defragmentation even if
free space is low.

The / isn't needed in the line above.

Defrag C: /f starts defrag.exe on C and forces
defragmentation even if free
space is low.

Defrag C: -f starts defrag.exe on C and forces
defragmentation even if free
space is low.

- and / work the same. They denote the switch(es). You
can use one or the
other.

Just like defrag -? is the same as defrag /?

C:\>Defrag /?
Usage:
Defrag <volume> [-a] [-f] [-v] [-?]
volume drive letter or mount point (d: or
d:\vol\mountpoint)
-a Analyze only
-f Force defragmentation even if free space is low
-v Verbose output
-? Display this help text

C:\>defrag -?
Usage:
defrag <volume> [-a] [-f] [-v] [-?]
volume drive letter or mount point (d: or
d:\vol\mountpoint)
-a Analyze only
-f Force defragmentation even if free space is low
-v Verbose output
-? Display this help text

From Microsoft Windows XP Inside Out, Second Edition:
Page 1245 & 1246

<quote>
[[Running Disk Defragmenter Using a Command Line
The command-line version of the Defrag utility uses the
exact same program
code as the graphical version. To use this command, type
defrag d: at any
command prompt, where d is the drive letter or mount point
of an existing
volume. (For an explanation of mount points, see
“Assigning and Changing
Drive Letters or Drive Paths,” page 765.) You can use the
following switches
with the Defrag command:

• /A Analyzes the selected drive or volume and displays
a summary of the
analysis report.
• /V Displays complete (verbose) reports. When used in
combination with
/A, this switch displays only the analysis report.
When used alone,
it displays both the analysis and defragmentation
reports.
• /F Forces defragmentation of the volume even if the
amount of free space
is low.

The command-line Disk Defragmenter does not provide any
progress indicator
except for a blinking cursor. To interrupt the
defragmentation process,
click in the command window and press Ctrl+C.]]
<end quote>

Defrag
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/defrag.mspx

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
Bruce Hagen said:
From Microsoft Windows XP Inside Out:

To open the graphical Disk Defragmenter console, use any
of
the following techniques:

* From the All Programs menu, choose Accessories>System
Tools>Disk Defragmenter.

*From the My Computer window, right click any drive icon
and
choose Properties from the shortcut menu. Then click the
Tools tab and click Defragment Now.

*Run Dfrg.msc from a command prompt.

*Right click on the My Computer icon on the Start Menu
and
choose Manage from the shortcut menu. In the Computer
Management console, open the Storage option in the
console
pane and select Disk Defragmenter.

(Defrag C:/ -f) does not start a Defrag.
--
Bruce Hagen
MS-MVP - (IE/OE)
~IB-CA~

"thunderstruck_302"
message
so what does that mean? Does that mean that it had
nothing
to defrag because
it was all done defraging before? If so thats good

:

Ok, thnx Bruce and Gerry. Just one thing. I let it run
again. It did the same
thing: Gave the Microsoft information------> paused a
few
seconds hten gave
the analysis report with the Hard drive info. and with
it
it said "0%
fragmented (0% file fragmentation)-------->
Let it run for a few minutes then said Defragmentation
report and it said
the exact same thing as the Analysis report with 0% and
all beside it. Then
it was finished because it was ready for another
command
prompt.

:

Description of the New Command Line Defrag.exe
Included
with Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;283080


--


Hope this helps.

Gerry
~~~~~~~~~~~~~~~~~~~~~~~~
FCA

Using invalid email address

Stourport, Worcs, England
Enquire, plan and execute.
~~~~~~~~~~~~~~~~~~~~~~~~
Please tell the newsgroup how any
suggested solution worked for you.



~~~~~~~~~~~~~~~~~~~~~~~~



"thunderstruck_302"
in message
i am trying to run defrag through a Command Prompt. I
type "Defrag
C:/ -f"
It gives all of the OS info., pauses for a few
seconds then give me my
hard
drive info. and fragmentation info. Then it doesnt do
anything. I
waited out
25 minutes in front of the computer watching it do
nothing. The
loading LED
on my tower is flashing but for 25 minutes the
Command prompt line
just
blinks. Is this normal or is there some error?
 
I think I'll have to print this out and stare at it for
awhile. <G>
--
Bruce Hagen
MS-MVP - (IE/OE)
~IB-CA~

Wesley Vogel said:
Hi Bruce,

I don't believe that I could stand if I weren't corrected.
<LOL> Luckily
I get corrected quite often.

One thing I know for sure is that Windows always has more
than one way to do
anything. ;-) And it's up to the user to figure 'em out.

With any of the external commands that everyone bandies
about, they usually
leave off the extension. With command line commands the
extension is
usually .exe, not always. I.e. sfc.exe, tasklist.exe,
cmd.exe, control.exe,
chkdsk.exe, ipconfig.exe, msconfig.exe, msinfo32.exe,
regedit.exe, etc. I
almost typed etc.exe. :-) But there are a few .coms
still in use, like
more.com, command.com, tree.com and diskcopy.com.

BTW, the pathext environment variable controls what
extensions don't need to
be typed in a command prompt or Run box. %PATHEXT% = List
of file
extensions that are considered to be executable.

.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
Bruce Hagen said:
I stand corrected. What caused my confusion was the link
the
OP cited as his source, and there is no mention of that
command at that link. I should have turned to the next
page
in the manual. I did mention that it appeared to have
worked
since after doing it via a command prompt, I did a Defrag
using Start>Programs.... and it only took a few seconds.

Link from the OP:
http://www.microsoft.com/resources/...Windows/XP/all/reskit/en-us/prkd_tro_viho.asp
--
Bruce Hagen
MS-MVP - (IE/OE)
~IB-CA~

message
Yes, it does.

There are two defrag tools in XP.

Dfrg.msc is the pretty one that opens from
Start\All Programs\Accessories\System Tools.

defrag.exe = Disk Defragmenter Module, the command line
tool.

defrag.exe is the command line tool that runs from a
command prompt.
defrag.exe is the one that you can schedule.

Defrag C:/ -f starts defrag.exe on C and forces
defragmentation even if
free space is low.

The / isn't needed in the line above.

Defrag C: /f starts defrag.exe on C and forces
defragmentation even if free
space is low.

Defrag C: -f starts defrag.exe on C and forces
defragmentation even if free
space is low.

- and / work the same. They denote the switch(es). You
can use one or the
other.

Just like defrag -? is the same as defrag /?

C:\>Defrag /?
Usage:
Defrag <volume> [-a] [-f] [-v] [-?]
volume drive letter or mount point (d: or
d:\vol\mountpoint)
-a Analyze only
-f Force defragmentation even if free space is low
-v Verbose output
-? Display this help text

C:\>defrag -?
Usage:
defrag <volume> [-a] [-f] [-v] [-?]
volume drive letter or mount point (d: or
d:\vol\mountpoint)
-a Analyze only
-f Force defragmentation even if free space is low
-v Verbose output
-? Display this help text

From Microsoft Windows XP Inside Out, Second Edition:
Page 1245 & 1246

<quote>
[[Running Disk Defragmenter Using a Command Line
The command-line version of the Defrag utility uses the
exact same program
code as the graphical version. To use this command, type
defrag d: at any
command prompt, where d is the drive letter or mount
point
of an existing
volume. (For an explanation of mount points, see
“Assigning and Changing
Drive Letters or Drive Paths,” page 765.) You can use
the
following switches
with the Defrag command:

• /A Analyzes the selected drive or volume and
displays
a summary of the
analysis report.
• /V Displays complete (verbose) reports. When used in
combination with
/A, this switch displays only the analysis
report.
When used alone,
it displays both the analysis and defragmentation
reports.
• /F Forces defragmentation of the volume even if the
amount of free space
is low.

The command-line Disk Defragmenter does not provide any
progress indicator
except for a blinking cursor. To interrupt the
defragmentation process,
click in the command window and press Ctrl+C.]]
<end quote>

Defrag
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/defrag.mspx

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In Bruce Hagen <[email protected]> hunted and pecked:
From Microsoft Windows XP Inside Out:

To open the graphical Disk Defragmenter console, use
any
of
the following techniques:

* From the All Programs menu, choose Accessories>System
Tools>Disk Defragmenter.

*From the My Computer window, right click any drive
icon
and
choose Properties from the shortcut menu. Then click
the
Tools tab and click Defragment Now.

*Run Dfrg.msc from a command prompt.

*Right click on the My Computer icon on the Start Menu
and
choose Manage from the shortcut menu. In the Computer
Management console, open the Storage option in the
console
pane and select Disk Defragmenter.

(Defrag C:/ -f) does not start a Defrag.
--
Bruce Hagen
MS-MVP - (IE/OE)
~IB-CA~

"thunderstruck_302"
message
so what does that mean? Does that mean that it had
nothing
to defrag because
it was all done defraging before? If so thats good

:

Ok, thnx Bruce and Gerry. Just one thing. I let it
run
again. It did the same
thing: Gave the Microsoft information------> paused a
few
seconds hten gave
the analysis report with the Hard drive info. and
with
it
it said "0%
fragmented (0% file fragmentation)-------->
Let it run for a few minutes then said
Defragmentation
report and it said
the exact same thing as the Analysis report with 0%
and
all beside it. Then
it was finished because it was ready for another
command
prompt.

:

Description of the New Command Line Defrag.exe
Included
with Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;283080


--


Hope this helps.

Gerry
~~~~~~~~~~~~~~~~~~~~~~~~
FCA

Using invalid email address

Stourport, Worcs, England
Enquire, plan and execute.
~~~~~~~~~~~~~~~~~~~~~~~~
Please tell the newsgroup how any
suggested solution worked for you.



~~~~~~~~~~~~~~~~~~~~~~~~



"thunderstruck_302"
in message
i am trying to run defrag through a Command Prompt.
I
type "Defrag
C:/ -f"
It gives all of the OS info., pauses for a few
seconds then give me my
hard
drive info. and fragmentation info. Then it doesnt
do
anything. I
waited out
25 minutes in front of the computer watching it do
nothing. The
loading LED
on my tower is flashing but for 25 minutes the
Command prompt line
just
blinks. Is this normal or is there some error?
 
Keep having fun! :-)

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
Bruce Hagen said:
I think I'll have to print this out and stare at it for
awhile. <G>
--
Bruce Hagen
MS-MVP - (IE/OE)
~IB-CA~

Wesley Vogel said:
Hi Bruce,

I don't believe that I could stand if I weren't corrected.
<LOL> Luckily
I get corrected quite often.

One thing I know for sure is that Windows always has more
than one way to do
anything. ;-) And it's up to the user to figure 'em out.

With any of the external commands that everyone bandies
about, they usually
leave off the extension. With command line commands the
extension is
usually .exe, not always. I.e. sfc.exe, tasklist.exe,
cmd.exe, control.exe,
chkdsk.exe, ipconfig.exe, msconfig.exe, msinfo32.exe,
regedit.exe, etc. I
almost typed etc.exe. :-) But there are a few .coms
still in use, like
more.com, command.com, tree.com and diskcopy.com.

BTW, the pathext environment variable controls what
extensions don't need to
be typed in a command prompt or Run box. %PATHEXT% = List
of file
extensions that are considered to be executable.

.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
Bruce Hagen said:
I stand corrected. What caused my confusion was the link
the
OP cited as his source, and there is no mention of that
command at that link. I should have turned to the next
page
in the manual. I did mention that it appeared to have
worked
since after doing it via a command prompt, I did a Defrag
using Start>Programs.... and it only took a few seconds.

Link from the OP:
http://www.microsoft.com/resources/...Windows/XP/all/reskit/en-us/prkd_tro_viho.asp
--
Bruce Hagen
MS-MVP - (IE/OE)
~IB-CA~

message
Yes, it does.

There are two defrag tools in XP.

Dfrg.msc is the pretty one that opens from
Start\All Programs\Accessories\System Tools.

defrag.exe = Disk Defragmenter Module, the command line
tool.

defrag.exe is the command line tool that runs from a
command prompt.
defrag.exe is the one that you can schedule.

Defrag C:/ -f starts defrag.exe on C and forces
defragmentation even if
free space is low.

The / isn't needed in the line above.

Defrag C: /f starts defrag.exe on C and forces
defragmentation even if free
space is low.

Defrag C: -f starts defrag.exe on C and forces
defragmentation even if free
space is low.

- and / work the same. They denote the switch(es). You
can use one or the
other.

Just like defrag -? is the same as defrag /?

C:\>Defrag /?
Usage:
Defrag <volume> [-a] [-f] [-v] [-?]
volume drive letter or mount point (d: or
d:\vol\mountpoint)
-a Analyze only
-f Force defragmentation even if free space is low
-v Verbose output
-? Display this help text

C:\>defrag -?
Usage:
defrag <volume> [-a] [-f] [-v] [-?]
volume drive letter or mount point (d: or
d:\vol\mountpoint)
-a Analyze only
-f Force defragmentation even if free space is low
-v Verbose output
-? Display this help text

From Microsoft Windows XP Inside Out, Second Edition:
Page 1245 & 1246

<quote>
[[Running Disk Defragmenter Using a Command Line
The command-line version of the Defrag utility uses the
exact same program
code as the graphical version. To use this command, type
defrag d: at any
command prompt, where d is the drive letter or mount
point
of an existing
volume. (For an explanation of mount points, see
“Assigning and Changing
Drive Letters or Drive Paths,” page 765.) You can use
the
following switches
with the Defrag command:

• /A Analyzes the selected drive or volume and
displays
a summary of the
analysis report.
• /V Displays complete (verbose) reports. When used in
combination with
/A, this switch displays only the analysis
report.
When used alone,
it displays both the analysis and defragmentation
reports.
• /F Forces defragmentation of the volume even if the
amount of free space
is low.

The command-line Disk Defragmenter does not provide any
progress indicator
except for a blinking cursor. To interrupt the
defragmentation process,
click in the command window and press Ctrl+C.]]
<end quote>

Defrag
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/defrag.mspx
--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In Bruce Hagen <[email protected]> hunted and pecked:
From Microsoft Windows XP Inside Out:

To open the graphical Disk Defragmenter console, use
any
of
the following techniques:

* From the All Programs menu, choose Accessories>System
Tools>Disk Defragmenter.

*From the My Computer window, right click any drive
icon
and
choose Properties from the shortcut menu. Then click
the
Tools tab and click Defragment Now.

*Run Dfrg.msc from a command prompt.

*Right click on the My Computer icon on the Start Menu
and
choose Manage from the shortcut menu. In the Computer
Management console, open the Storage option in the
console
pane and select Disk Defragmenter.

(Defrag C:/ -f) does not start a Defrag.
--
Bruce Hagen
MS-MVP - (IE/OE)
~IB-CA~

"thunderstruck_302"
message
so what does that mean? Does that mean that it had
nothing
to defrag because
it was all done defraging before? If so thats good

:

Ok, thnx Bruce and Gerry. Just one thing. I let it
run
again. It did the same
thing: Gave the Microsoft information------> paused a
few
seconds hten gave
the analysis report with the Hard drive info. and
with
it
it said "0%
fragmented (0% file fragmentation)-------->
Let it run for a few minutes then said
Defragmentation
report and it said
the exact same thing as the Analysis report with 0%
and
all beside it. Then
it was finished because it was ready for another
command
prompt.

:

Description of the New Command Line Defrag.exe
Included
with Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;283080


--


Hope this helps.

Gerry
~~~~~~~~~~~~~~~~~~~~~~~~
FCA

Using invalid email address

Stourport, Worcs, England
Enquire, plan and execute.
~~~~~~~~~~~~~~~~~~~~~~~~
Please tell the newsgroup how any
suggested solution worked for you.



~~~~~~~~~~~~~~~~~~~~~~~~



"thunderstruck_302"
in message
i am trying to run defrag through a Command Prompt.
I
type "Defrag
C:/ -f"
It gives all of the OS info., pauses for a few
seconds then give me my
hard
drive info. and fragmentation info. Then it doesnt
do
anything. I
waited out
25 minutes in front of the computer watching it do
nothing. The
loading LED
on my tower is flashing but for 25 minutes the
Command prompt line
just
blinks. Is this normal or is there some error?
 
Back
Top