Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 19, 2013, 04:29:57 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1] 2 3 ... 6
  Print  
Author Topic: Which script for Windows files  (Read 8879 times)
joboxers
JkDefrag Hero
*****
Posts: 61


View Profile
« on: June 18, 2010, 01:53:38 pm »

Hi,

i now there are many many types of script for use but what i am mean is:

Move windows files to top of the disk which will never change. Files which windos only read and which sizes will never change. In this case the top of the disk would be NEVER defrag again. To do this we must specify which files tese are Smiley I think one type are the:
*.dll
*.bat
*.sys
*.bin
*.inf

Does anybody know the full extensions. I think this would help to create the fastest disk
Logged
Kasuha
JkDefrag Hero
*****
Posts: 595


View Profile
« Reply #1 on: June 18, 2010, 02:03:24 pm »

Moving files that the system reads to the end of the disk is bad idea.
Absolute majority of system files are never written to, they are only read during system startup or when you start an application requiring a service provided by them. If you move them to the end of the disk, you will make starting your system and applications slower.

If a file is lying on your disk and it is not fragmented and nobody writes to it or tries to move it, it will not get fragmented. You don't need to move it to the end of the disk to ensure that.
« Last Edit: June 18, 2010, 02:05:31 pm by Kasuha » Logged
joboxers
JkDefrag Hero
*****
Posts: 61


View Profile
« Reply #2 on: June 18, 2010, 02:26:49 pm »

yes, but i wrote on the top and not on the end

i want to move these file to the top of the disk to avoid fragmentation on the disk top. This type of files are never changing, the operating system just read them, in this case they will never fragmented

the question is how the get the list of this files Smiley
Logged
Darlis
JkDefrag Hero
*****
Posts: 1707


View Profile WWW
« Reply #3 on: June 18, 2010, 04:06:27 pm »

Having files which never fragment at the beginning of the disk to make solid block of files sounds good, but there is a problem with that: If you're using Windows update regularly, a lot of these files will be replaced and thus moved away and even get fragmented. Also, if you put all files of these types in one area, not needed files (backups) will slow down the disk. So you have to carefully select the actually needed files.

My system script puts all files indexed by prefetch at the beginning of the disk. They are separated in two zones: Files that haven't changed for the last 3 days and files that have. This way I have a relative solid block of (frequently) needed files.
Logged

Need help creating a script? Try MyDefrag Script Creator.
Kasuha
JkDefrag Hero
*****
Posts: 595


View Profile
« Reply #4 on: June 18, 2010, 04:12:12 pm »

Oh well, you didn't tell us what you mean by 'top' of your disk and I assumed it's the end.

Standard MyDefrag scripts do it generally correctly, placing important files near the start of the disk and less important files after them, why don't you start with these scripts?
Logged
joboxers
JkDefrag Hero
*****
Posts: 61


View Profile
« Reply #5 on: June 21, 2010, 08:45:29 am »

i want to try to move:

first:mft

then
*.dll
*.exe


after that

*.inf
*.ini
*.bak
*.bat

I do not now if it is necesaary to split them in zones

can anybody help
Logged
joboxers
JkDefrag Hero
*****
Posts: 61


View Profile
« Reply #6 on: June 21, 2010, 08:57:52 am »

Please send me simple script for

1-MFT

2 file types dll , exe , inf

i do not know to build scripts

help please

if possible normal and in zones

i will do some experiments ans measure the disk performance, i will share the results later

THANKS
Logged
Darlis
JkDefrag Hero
*****
Posts: 1707


View Profile WWW
« Reply #7 on: June 21, 2010, 12:13:43 pm »

Here is a script with the following zones:
- System files (including MFT)
- Directories
- exe, dll and inf files
- ini, bax, bat
- non spacehogs
- spacehogs

Every zone, except the last one, will sort the files.

* Windows files.MyD (3.62 KB - downloaded 197 times.)
Logged

Need help creating a script? Try MyDefrag Script Creator.
joboxers
JkDefrag Hero
*****
Posts: 61


View Profile
« Reply #8 on: June 21, 2010, 01:04:09 pm »

thank you my friend, i will try it now
Logged
joboxers
JkDefrag Hero
*****
Posts: 61


View Profile
« Reply #9 on: June 21, 2010, 01:06:40 pm »

  /* Zone 3: dll and exe file types */
  FileSelect
    FileName("*.dll")
   || FileName("*.exe")
   || FileName("*.inf")

will this sort the *.dll files  or just *.ex and *.inf ?
Logged
joboxers
JkDefrag Hero
*****
Posts: 61


View Profile
« Reply #10 on: June 21, 2010, 01:11:14 pm »

Last question:

in zone 6 or as a new zone 7, i want to specify file extensions which should be send to end of disk like *.part and *.tmp....

can you prepare it
PLEASEEEE
Logged
joboxers
JkDefrag Hero
*****
Posts: 61


View Profile
« Reply #11 on: June 21, 2010, 02:24:17 pm »

HA HA,

its really work. The HD is now faster then before. I just need zone 7 for move specified filetypes to end of the disk ( *.part, *.temp, *.jar... )

Logged
BloodySword
JkDefrag Hero
*****
Posts: 1113



View Profile
« Reply #12 on: June 21, 2010, 02:33:30 pm »

You shuld not move *.jar to the end of the drive because it will slow down Java.
Logged

Greetings from Germany!
joboxers
JkDefrag Hero
*****
Posts: 61


View Profile
« Reply #13 on: June 21, 2010, 02:53:38 pm »

yes, it was just a sample

i am planning to move *.part, *.pdf and office files
*.pot
*.hlp
*.hfp
*.cfg
*.resx
*.qtr
*.qtx
*.pnf
*.nls
*.mui
*.mth
*.mst
*.mof
*.mo
*.dot
*.csv
*.mfl
*.txt
*.log
*.manifest
*.m
*.lng
*.license
*.inf
*.reg
*.jsx
*.js
*.jas
*.ico
*.cur
*.id2
*.hfp
*.cat
*.dat
*.htm
*.html
*.dt2
*.chm
*.class
*.drv
*.ax
*.wmf
*.png
picture files


to end of the disk
Logged
Darlis
JkDefrag Hero
*****
Posts: 1707


View Profile WWW
« Reply #14 on: June 21, 2010, 06:24:19 pm »

  /* Zone 3: dll and exe file types */
  FileSelect
    FileName("*.dll")
   || FileName("*.exe")
   || FileName("*.inf")

will this sort the *.dll files  or just *.ex and *.inf ?
It will sort the files after their full paths, regardless of their extension.
in zone 6 or as a new zone 7, i want to specify file extensions which should be send to end of disk like *.part and *.tmp....
Insert a new Zone between 6 and 7:
Code:
FileSelect
  FileName("*.part")
  || FileName("*.tmp")
  || ...
FileActions
  MoveToEndOfDisk()
FileEnd

I wouldn't move some of these files to the end of the disk:
.cfg A configuration file, usually accessed when a program starts.
.lng Probably a language file, usually accessed when a program starts.
.ico Icons for shortcuts or the program executable itself, or even used within the program
.dat May contain information that a programs needs
.class Contains Java code
.png This image format can used by programs, too

And btw., moving all these files to the end does not speed up your disk. It will even slow it down if one of these files are accessed, because of the long way the read/write heads have to travel. And do not underestimate the NTFS driver. It will probably write new files in the middle of the disk.

its really work. The HD is now faster then before. I just need zone 7 for move specified filetypes to end of the disk ( *.part, *.temp, *.jar... )
Interesting. Which script did you ran before the customized, if any?
Logged

Need help creating a script? Try MyDefrag Script Creator.
Pages: [1] 2 3 ... 6
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!