Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Anonymous
Friday, October 23rd, 2009 at 4:26:36am MDT 

  1. # MyDefrag v4.0
  2. #
  3. # Full defrag script by Falcon4 - falcon4@gmail.com
  4.  
  5. Title('Full Optimize')
  6. Description('
  7. It defrags the drive. Very well.
  8. ')
  9.  
  10. WindowSize(minimized)
  11.  
  12. RunScript('Settings')
  13. WhenFinished(exit)
  14.  
  15. VolumeSelect
  16.   CommandlineVolumes()
  17.   and Removable(no)
  18.   and Writable(yes)
  19.   and Mounted(yes)
  20. VolumeActions
  21.   DeleteJournal()
  22.  
  23.   FileSelect
  24.     Directory(yes)
  25.   FileActions
  26.     FastFill()
  27.     AddGap(Megabytes(20))
  28.   FileEnd
  29.  
  30.   WindowSize(normal)
  31.  
  32. FileSelect
  33.   # Select all the NTFS system files.
  34.   SelectNtfsSystemFiles(yes)
  35. FileActions
  36.   # Place the selected files, sorted by their full path.
  37.   PlaceNtfsSystemFiles(Ascending)
  38.   AddGap(Megabytes(275))
  39. FileEnd
  40.  
  41.   FileSelect
  42.     (
  43.     DirectoryName("System32")
  44.     OR DirectoryName("SysWOW64")
  45.     OR DirectoryName("winsxs")
  46.     )
  47.     & NOT ( Size(100000000,0) )
  48.   FileActions
  49.     Defragment()
  50.     FastFill()
  51.     AddGap(PercentageOfVolume(5))
  52.   FileEnd
  53.  
  54.   FileSelect
  55.     DirectoryName("Program Files")
  56.     & NOT ( Size(100000000,0) )
  57.   FileActions
  58.     Defragment()
  59.     FastFill()
  60.     AddGap(PercentageOfVolume(1))
  61.   FileEnd
  62.  
  63.   FileSelect
  64.     all
  65.     & NOT ( DirectoryName("Documents and Settings") )
  66.     & NOT ( DirectoryName("Users") )
  67.     & NOT ( Size(100000000,0) )
  68.   FileActions
  69.     Defragment()
  70.     FastFill()
  71.     AddGap(PercentageOfVolume(2))
  72.   FileEnd
  73.  
  74.   FileSelect
  75.     DirectoryName("Documents and Settings")
  76.     || DirectoryName("Users")
  77.     & NOT ( Size(100000000,0) )
  78.   FileActions
  79.     Defragment()
  80.     FastFill()
  81.     AddGap(Megabytes(256))
  82.   FileEnd
  83.  
  84.   FileSelect
  85.     Size(100000000,0)
  86.   FileActions
  87.     Defragment()
  88.     FastFill()
  89.   FileEnd
  90.  
  91. VolumeEnd

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

fantasy-obligation