defrag c: -w -v worked on vista?

Page 1 of 2 12 LastLast

  1. Posts : 1,113
    windows 7 professional & ultimate 64bit laptops
       #1

    defrag c: -w -v worked on vista?


    when I open an elevated cmd on vista x86, and type... defrag c: -w -v
    it worked.

    on my win7 x64 it does not.


    anyone know why?


    ~Carmine
      My Computer


  2. Posts : 2,963
    Windows 7 Professional SP1 64-bit
       #2

    What is "defrag c: -w -v" supposed to do?
      My Computer


  3. Posts : 5,642
    Windows 10 Pro (x64)
       #3

    Maybe if you read the help file...
    Microsoft Disk Defragmenter
    Copyright (c) 2007 Microsoft Corp.

    Description:

    Locates and consolidates fragmented files on local volumes to
    improve system performance.

    Syntax:

    defrag <volumes> | /C | /E <volumes> [/H] [/M | [/U] [/V]]
    defrag <volumes> | /C | /E <volumes> /A [/H] [/M | [/U] [/V]]
    defrag <volumes> | /C | /E <volumes> /X [/H] [/M | [/U] [/V]]
    defrag <volume> /T [/H] [/U] [/V]

    Parameters:

    Value Description

    /A Perform analysis on the specified volumes.

    /C Perform the operation on all volumes.

    /E Perform the operation on all volumes except those specified.

    /H Run the operation at normal priority (default is low).

    /M Run the operation on each volume in parallel in the background.

    /T Track an operation already in progress on the specified volume.

    /U Print the progress of the operation on the screen.

    /V Print verbose output containing the fragmentation statistics.

    /X Perform free space consolidation on the specified volumes.

    Examples:

    defrag C: /U /V
    defrag C: D: /M
    defrag C:\mountpoint /A /U
    defrag /C /H /V
      My Computer


  4. Posts : 1,113
    windows 7 professional & ultimate 64bit laptops
    Thread Starter
       #4

    logicearth said:
    Maybe if you read the help file...
    Microsoft Disk Defragmenter
    Copyright (c) 2007 Microsoft Corp.

    Description:

    Locates and consolidates fragmented files on local volumes to
    improve system performance.

    Syntax:

    defrag <volumes> | /C | /E <volumes> [/H] [/M | [/U] [/V]]
    defrag <volumes> | /C | /E <volumes> /A [/H] [/M | [/U] [/V]]
    defrag <volumes> | /C | /E <volumes> /X [/H] [/M | [/U] [/V]]
    defrag <volume> /T [/H] [/U] [/V]

    Parameters:

    Value Description

    /A Perform analysis on the specified volumes.

    /C Perform the operation on all volumes.

    /E Perform the operation on all volumes except those specified.

    /H Run the operation at normal priority (default is low).

    /M Run the operation on each volume in parallel in the background.

    /T Track an operation already in progress on the specified volume.

    /U Print the progress of the operation on the screen.

    /V Print verbose output containing the fragmentation statistics.

    /X Perform free space consolidation on the specified volumes.

    Examples:

    defrag C: /U /V
    defrag C: D: /M
    defrag C:\mountpoint /A /U
    defrag /C /H /V
    I did read and I got >c/ again
      My Computer


  5. Posts : 1,113
    windows 7 professional & ultimate 64bit laptops
    Thread Starter
       #5

    Petey7 said:
    What is "defrag c: -w -v" supposed to do?

    it allows you to defrag from the command line.
      My Computer


  6. Posts : 12,012
    Windows 7 Home Premium SP1, 64-bit
       #6

    Logic Earth posted the list of switches available.

    I don't see a W switch.

    Why are you attempting a W switch?

    Or a V switch for that matter, if all you want to do is a simple defrag.
      My Computer


  7. Posts : 3,139
    Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
       #7

    These are the only options:
    Attached Thumbnails Attached Thumbnails defrag c: -w -v    worked on vista?-defrag.jpg  
      My Computer


  8. Posts : 5,056
    Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
       #8

    The /W switch is described as "Performs full defragmentation. Attempts to consolidate all file fragments, regardless of their size." What this implies is that file fragments larger than 64 mb too are optimized, this is simply not the case in win7 which ignores the larger chunks. You can read all about the benefits of this change in design in this blog.

    Disk Defragmentation – Background and Engineering the Windows 7 Improvements - Engineering Windows 7 - Site Home - MSDN Blogs

    So, theres no point in using the -w switch.
      My Computer


  9. Posts : 2,528
    Windows 10 Pro x64
       #9

    On Vista, defrag -w does a full fragmentation and consolidation regardless of file size - Windows 7's defrag was changed so this is no longer necessary as the previous poster mentioned, so there's no need for a -w option anymore (Win7 does add the -x option, which tries to consolidate free space as well, although you must run -x separate from other options).
      My Computer


  10. Posts : 1,113
    windows 7 professional & ultimate 64bit laptops
    Thread Starter
       #10

    Bill2 said:
    The /W switch is described as "Performs full defragmentation. Attempts to consolidate all file fragments, regardless of their size." What this implies is that file fragments larger than 64 mb too are optimized, this is simply not the case in win7 which ignores the larger chunks. You can read all about the benefits of this change in design in this blog.

    Disk Defragmentation – Background and Engineering the Windows 7 Improvements - Engineering Windows 7 - Site Home - MSDN Blogs

    So, theres no point in using the -w switch.
    cluberti said:
    On Vista, defrag -w does a full fragmentation and consolidation regardless of file size - Windows 7's defrag was changed so this is no longer necessary as the previous poster mentioned, so there's no need for a -w option anymore (Win7 does add the -x option, which tries to consolidate free space as well, although you must run -x separate from other options).

    thank you guys
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:22.
Find Us