Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
June 20, 2013, 02:05:50 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  JkDefrag v3 Forum / Bugs and problems / Re: problem with placing specific files within a specific zone on: May 09, 2011, 06:07:36 pm
Ok well I still think that if i say "put this file in zone 6" it should not be placed anywhere other than zone 6 :/

also... even after putting exclusions for the files in all other zones zone 6 is never processed.  I see the defrag do zones 1, 2, 3, 5 and then display "Finished".  That means that about 1/4 of my drive is now in nice neat order and 3/4 of my drive is a cluster*$(^$ of scatterd fragments.

what did i do wrong here??

< snip >
  /* Zone 1: Place the MFT and some other special NTFS files. */
  FileSelect
    SelectNtfsSystemFiles(yes)
  FileActions
    PlaceNtfsSystemFiles(Ascending,MftSize * 0.1)
  FileEnd

  /* Zone 2: Directories. */
  FileSelect
    Directory(yes)
  FileActions
    SortByName(Ascending)
  FileEnd

  /* Place files at the beginning of the disk. */
  MakeGap(0)

  /* Zone 3: files used when booting, and a gap. */
  FileSelect
    ImportListFromBootOptimize()
  FileActions
    SortByImportSequence(Ascending)
    AddGap(RoundUp(ZoneEnd,VolumeFree * 0.01))
  FileEnd

  /* Zone 4: files used by the most used programs, and a gap. */
  FileSelect
    ImportListFromProgramHints("*.pf")
    and not(
      FileName("*.MPQ")
      or FileName("*.7z")
      or FileName("*.arj")
      or FileName("*.avi")
      or FileName("*.bz2")
      or FileName("*.cab")
      or FileName("*.chm")
      or FileName("*.dvr-ms")
      or FileName("*.gz")
      or FileName("*.ifo")
      or FileName("*.iso")
      or FileName("*.lzh")
      or FileName("*.mp3")
      or FileName("*.msi")
      or FileName("*.pdf")
      or FileName("*.rar")
      or FileName("*.rpm")
      or FileName("*.tar")
      or FileName("*.wav")
      or FileName("*.wmv")
      or FileName("*.vob")
      or FileName("*.z")
      or FileName("*.zip")
      or FileName("*.mp3")
      or FileName("*.vdi")
    )
  FileActions
    SortByImportSequence(Ascending)
    AddGap(RoundUp(ZoneEnd,VolumeFree * 0.01))
  FileEnd

  /* Zone 5: regular files and a gap. */
  FileSelect
    not(
      Size(5000000,0)                      /*** i removed a zero from this number */
      or (LastAccessEnabled(yes) and LastAccess(,1 month ago))
      or DirectoryName("$RECYCLE.BIN")
      or DirectoryName("RECYCLED")
      or DirectoryName("RECYCLER")
      or DirectoryName("$*")
      or DirectoryName("Downloaded Installations")
      or DirectoryName("Ehome")
      or DirectoryName("Fonts")
      or DirectoryName("Help")
      or DirectoryName("I386")
      or DirectoryName("IME")
      or DirectoryName("Installer")
      or DirectoryName("ServicePackFiles")
      or DirectoryName("SoftwareDistribution")
      or DirectoryName("Speech")
      or DirectoryName("Symbols")
      or DirectoryName("ie?updates")
      or DirectoryName("dllcache")
      or DirectoryName("Installshield Installation Information")
      or DirectoryName("System Volume Information")
      or DirectoryName("windows.old")
      or FileName("*.MPQ")
      or FileName("*.7z")
      or FileName("*.arj")
      or FileName("*.avi")
      or FileName("*.bz2")
      or FileName("*.cab")
      or FileName("*.chm")
      or FileName("*.dvr-ms")
      or FileName("*.gz")
      or FileName("*.ifo")
      or FileName("*.iso")
      or FileName("*.lzh")
      or FileName("*.mp3")
      or FileName("*.msi")
      or FileName("*.pdf")
      or FileName("*.rar")
      or FileName("*.rpm")
      or FileName("*.tar")
      or FileName("*.wav")
      or FileName("*.wmv")
      or FileName("*.vob")
      or FileName("*.z")
      or FileName("*.zip")
      or FileName("*.mp3")
      or FileName("*.vdi")
      )
  FileActions
    SortByName(Ascending)
    AddGap(RoundUp(ZoneEnd,VolumeFree * 0.01))
  FileEnd

  /* Zone 6: spacehog files (less important files that take up a lot of space). */
  FileSelect
  (
      FileName("*.MPQ")     /**** its the MPQ and VDI that i want defragged to here the rest is not as important */
      and FileName("*.vdi")
      and FileName("*.7z")
      and FileName("*.arj")
      and FileName("*.avi")
      and FileName("*.bz2")
      and FileName("*.cab")
      and FileName("*.chm")
      and FileName("*.dvr-ms")
      and FileName("*.gz")
      and FileName("*.ifo")
      and FileName("*.iso")
      and FileName("*.lzh")
      and FileName("*.mp3")
      and FileName("*.msi")
      and FileName("*.pdf")
      and FileName("*.rar")
      and FileName("*.rpm")
      and FileName("*.tar")
      and FileName("*.wav")
      and FileName("*.wmv")
      and FileName("*.vob")
      and FileName("*.z")
      and FileName("*.zip")
      and FileName("*.mp3")
  )
  FileActions
    SortByName(Ascending)
  FileEnd

< /snip >
2  JkDefrag v3 Forum / Bugs and problems / problem with placing specific files within a specific zone on: May 09, 2011, 07:27:52 am
I have modified the system monthly script by adding a zone 6.  to this zone I want all VDI files (virtual disk images) and some other LARGE files.  Problem is, mydefrag does not honor the request to place these files in zone 6 unless I also specifically add a exclusion rules to ALL OTHER ZONES!!!!!!!!!!!!!

If I have specifically added a file/files/sub directory to a specific zone then mydefrag should KNOW not to place those files in an earlier zone without my having to add exclusion rules to all other zones!!!
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!