rsnellman
asked on
How can I create a activity log of the command-line defrag.exe?
Hi, I guess I closed my last thread too soon. I have setup defrag.exe to auto run via Scheduled Tasks, but I cannot find a log that tells me how much it was fragmented or how long it took to defrag, etc. Is there a switch or parameter I can use on defrag.exe to make it dump a log of the activities of the auto defrag?
Thanks in advance.
Thanks in advance.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Merlinsmaster,
That did the trick.
Thanks to all.
That did the trick.
Thanks to all.
ASKER
Windows Disk Defragmenter
Copyright (c) 2003 Microsoft Corp. and Executive Software International, Inc.
Usage:
defrag.exe <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
What went wrong?