- Stuff
- Friday, October 23rd, 2009 at 4:22:57am MDT
- # MyDefrag v4.0 default script: Move To End Of Disk
- #
- # This is an example script.
- Title('Move To End Of Disk')
- Description('
- Move all the files and directories to the end of the selected disk(s).
- ')
- WriteLogfile("MyDefrag.log","LogHeader")
- # Exclude the files that you do NOT want to move to the end of the disk. */
- ExcludeFiles(All and not(FileName("*.avi")))
- # Analyze the volume and move the not-excluded files to the end of the disk.
- VolumeSelect
- CommandlineVolumes()
- VolumeActions
- AppendLogfile("MyDefrag.log","LogBefore")
- /* Dirty trick to move all the files (that are not excluded by the ExcludeFiles
- before) to the end of the disk. Files may get fragmented. */
- MakeGap(PercentageOfVolume(100))
- AppendLogfile("MyDefrag.log","LogAfter")
- 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.
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.