Results 1 to 4 of 4
  1. #1
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts
    (see also Post 683642)
    I am using v1.12.152 and have noticed something of interest (to me)

    I run Defraggler as a batch file (attached) and then, for my amusement, I choose from defraggler's menu system: Action, Advanced, Defrag free space it runs and finds that there is free space to defragment.
    If I then choose Action, Defrag Drive it runs and finds that there are more files to defragment.

    I can go on happily for hours alternating between "Drive" and "Free Space", presumably in collecting free space defraggler leaves some orphaned chunks of files, or else creates them in its attempt to turn all the free space into one "file".

    It seems to me that a batch command to defragment free space would allow one, once a month, to do a Real Good Job on a drive.

    Anyone know how to issue "FreeSpace" from the command line?

    P.S. If you want to impress a warehouse manager, start talking about "defragmenting" his warehouse shelves.
    Attached Images Attached Images
    • File Type: jpg 7.JPG (16.5 KB, 1 views)
    Attached Files Attached Files

  2. #2
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,572
    Thanks
    5
    Thanked 1,057 Times in 926 Posts
    [quote name='chrisgreaves' post='793034' date='11-Sep-2009 14:15'](see also Post 683642)
    I am using v1.12.152 and have noticed something of interest (to me)
    Anyone know how to issue "FreeSpace" from the command line?[/quote]

    There is no option to do that according to Command-line parameters - Piriform Docs.

    Joe
    Joe

  3. #3
    Super Moderator BATcher's Avatar
    Join Date
    Feb 2008
    Location
    A cultural area in SW England
    Posts
    3,414
    Thanks
    33
    Thanked 195 Times in 175 Posts
    [quote name='chrisgreaves' post='793034' date='11-Sep-2009 20:15'][/quote]
    The Freespace command seems like a waste of time, because NTFS "allocation unit" allocation for created files does not seem to be in a linear or sequential order.

    And you really cannot be allowed to get away with a BATch file like that, when you can so easily do:

    Code:
    set dfcmd="C:\Program Files\Defraggler\DF.exe" 
    for %%a in (C D G P X Y) do (
      title Defragging %%a:
      %dfcmd% %%a:
    )
    Note that the trailing backslash and the /s are redundant.
    BATcher

    Time prevents everything happening all at once...

  4. #4
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Batcher, thank you, as always, for the elevation.
    The Freespace command seems like a waste of time,
    I often think that the whole business of defragmenting is a waste of time, especially for people who do it nightly. There are better ways of (1) speeding up a computer and (2) speeding up one's work.
    I continue to be fascinated by the concept, and this time around of treating FreeSpace as a single file.
    Logically, it seemed to me, a sequence that
    (1) amalgamated all the free space then
    (2) defragmented all the files before
    (3) re-amalgamating all the free space
    would be "perfect"

    I simulated this yesterday by dragging all of drive G: (8GB) to a folder on drive D: (80GB), deleting the contents of drive G:, then dragging the copy back from drive D:.
    Looks nice, and ran almost as fast as a multiple de-fragmentation run (which didn't achieve my goals anyway)


    And you really cannot be allowed to get away with a BATch file like that, when you can so easily do:
    Note that the trailing backslash and the /s are redundant.
    I hangs my head in shame.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •