Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 25, 2013, 07:56:05 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1] 2
  Print  
Author Topic: ImportListFromBootOptimize() in FileBoolean expressions  (Read 3805 times)
poutnik
JkDefrag Hero
*****
Posts: 1105


View Profile
« on: March 01, 2009, 10:12:16 am »

I have tried to modify script to put layout.ini files from windows first,
then the rest. ( The file list contents files from many directories ).

But it seams my modification is ignored, processing all as the only fileselect,
as far as display watching. ( tried to visualize it by gap too, but no gap appeared )

  FileSelect
    ImportListFromBootOptimize() and directoryName("Windows")
    /*EXCLUDE*/
  FileActions
    Defragment()
    FastFill()
  FileEnd

  FileSelect
    ImportListFromBootOptimize() and not(directoryName("Windows"))
    /*EXCLUDE*/
  FileActions
    Defragment()
    FastFill()
  FileEnd
Logged

It can be fast, good or easy. You can pick just 2 of them....
Treating Spacehog zone by the same effort as Boot zone is like cleaning a garden by the same effort as a living room.
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #1 on: March 01, 2009, 11:29:34 pm »

I think the vast majority of files is in the Windows directory, and only a few are outside. Perhaps you can run MyDefrag with the "-d 3" commandline option, the "c:\Program Files\MyDefrag\MyDefrag.log" file will then show exactly which files were selected.
Logged
poutnik
JkDefrag Hero
*****
Posts: 1105


View Profile
« Reply #2 on: March 01, 2009, 11:51:21 pm »

No need to debug. I can see the Layout.ini filezone - it is about 3-4 GB big.

Browsing by cross to inspect files reveals
there are (very) many files e.g. from various Program files folders.
Logged

It can be fast, good or easy. You can pick just 2 of them....
Treating Spacehog zone by the same effort as Boot zone is like cleaning a garden by the same effort as a living room.
poutnik
JkDefrag Hero
*****
Posts: 1105


View Profile
« Reply #3 on: March 02, 2009, 12:51:31 am »

I think the vast majority of files is in the Windows directory, and only a few are outside. Perhaps you can run MyDefrag with the "-d 3" commandline option, the "c:\Program Files\MyDefrag\MyDefrag.log" file will then show exactly which files were selected.
I was playing with custom analyze only script.
It seems about 60% of size of BootOptimizeZone is from Windows folder,
and 40% from other places.
Logged

It can be fast, good or easy. You can pick just 2 of them....
Treating Spacehog zone by the same effort as Boot zone is like cleaning a garden by the same effort as a living room.
jimbo
JkDefrag Hero
*****
Posts: 84


View Profile
« Reply #4 on: March 02, 2009, 10:21:46 am »

What seems to be happening, at least on my PC (ymmv) is that the boot optimise list includes everything referenced in the startup menu / registry auto-start as well as just windows.

For me, that includes a sidebar app-launcher, RocketDock, so its exe is added to the boot list, but, more, when that runs, it grabs the icons from every exe that is in its menu structure, which means that all of those are referenced as well. Some of which are quite definitely NOT startup-time programs Smiley

However, that is definitely a windows failing. I'm planning to extract the icons and reference them directly to tidy it up, here.

Logged
Lundholm
JkDefrag Hero
*****
Posts: 208



View Profile
« Reply #5 on: March 19, 2009, 11:18:52 am »

I was playing with custom analyze only script.
It seems about 60% of size of BootOptimizeZone is from Windows folder,
and 40% from other places.

Yes, I made the same observation a long time ago. My conclusion then was that the layout.ini file cannot be used for boot optimization. Still is. Wink
Logged

"O, there has been much throwing about of brains." -- Guildenstern{alt. Gyldenstern[alt. Gyldenstjerne(anc. Gyllenstierna{knight of Lundholm})], knight of Hamlet}.
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #6 on: March 20, 2009, 02:45:46 am »

My conclusion then was that the layout.ini file cannot be used for boot optimization. Still is. Wink
You can customize it with something like this:
Code:
  FileSelect
    ImportListFromBootOptimize()
    and FullPath("*\Windows\*")
    /*EXCLUDE*/
  FileActions
    Defragment()
    FastFill()
  FileEnd
Logged
Lundholm
JkDefrag Hero
*****
Posts: 208



View Profile
« Reply #7 on: March 20, 2009, 04:55:06 am »

You can customize it with something like this:
Code:
  FileSelect
    ImportListFromBootOptimize()
    and FullPath("*\Windows\*")
    /*EXCLUDE*/
  FileActions
    Defragment()
    FastFill()
  FileEnd
I'm not sure how to read this; I haven't studied version 4 much. If it's a logical AND, then it's not sufficient. The basic boot files are not in the Windows directory, afaik. But i trust that some sort of correct expression can be made, right? This should be part of the standard package, of course.

By the way, is it possible to download the standard scripts without installing? Any zip builds? I didn't find any, the last time I checked.
Logged

"O, there has been much throwing about of brains." -- Guildenstern{alt. Gyldenstern[alt. Gyldenstjerne(anc. Gyllenstierna{knight of Lundholm})], knight of Hamlet}.
poutnik
JkDefrag Hero
*****
Posts: 1105


View Profile
« Reply #8 on: March 20, 2009, 06:05:37 am »

.......I'm not sure how to read this; I haven't studied version 4 much.
If it's a logical AND, then it's not sufficient. The basic boot files are not in the Windows directory, afaik. But i trust that some sort of correct expression can be made, right? ......
I suppose it is in "system32", or in some of its subfolders.
But, anyway, they have windows in path.
Logged

It can be fast, good or easy. You can pick just 2 of them....
Treating Spacehog zone by the same effort as Boot zone is like cleaning a garden by the same effort as a living room.
jimbo
JkDefrag Hero
*****
Posts: 84


View Profile
« Reply #9 on: March 20, 2009, 10:04:12 am »

I'm not quite sure what people are trying to achieve, here....

IF you are trying to optimize boot time, then what you need to do is move all the files involved in booting into a single zone together. It doesn't matter if they are from windows or XyzApp or AcmeMenu or whatever. They are referenced during boot and therfore need to be fast to access to achieve minimized boot times.

Limiting this so that only "official windows" files are moved together makes the entire exercise futile, since it guarantees that many (or even most in some of the examples above) of the boot time accessed files are scattered across multiple zones. Since this is the case, why bother moving some of them to a zone of their own?

For those who feel that boot optimization matters, then the system as it currently is gets the best achieveable results, moving all the involved files.

For those who don't feel that it is important, don't do a bootoptimise. Easy.


I may have missed something, though, so can anyone explain to me why you would want just the "windows" boot files clumped together?


Personally, I use my PC far more than I reboot it, so boot optimization seems to be nothing more than an attempt to improve the perceived speed by shortening an easily measured metric.
Logged
jonib
JkDefrag Hero
*****
Posts: 810


View Profile
« Reply #10 on: March 20, 2009, 12:46:40 pm »

I may have missed something, though, so can anyone explain to me why you would want just the "windows" boot files clumped together?
I think the problem is that Layout.ini lists some files that are not related to booting like I have *.mp3 files I listened to recently and other files, check you layout.ini if it has only boot/windows start related files listed.

jonib
Logged

poutnik
JkDefrag Hero
*****
Posts: 1105


View Profile
« Reply #11 on: March 20, 2009, 01:40:48 pm »

I think the problem is that Layout.ini lists some files that are not related to booting like I have *.mp3 files I listened to recently and other files, check you layout.ini if it has only boot/windows start related files listed.
I have there e.g. Nero.exe, which is for sure not related to booting time, I have not even its tray agent to be launched at startup.

Another thing, already mentioned, why so much optimize booting, if done weekly.
Logged

It can be fast, good or easy. You can pick just 2 of them....
Treating Spacehog zone by the same effort as Boot zone is like cleaning a garden by the same effort as a living room.
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #12 on: March 21, 2009, 04:19:20 am »

But i trust that some sort of correct expression can be made, right?
Yes, it's very flexible. For a list of keywords see FileBoolean.

Quote
By the way, is it possible to download the standard scripts without installing?
No, not yet, perhaps in the future. The installer is very clean, it only places files in the installation folder, not anywhere else (such as DLL's in the Windows folder), and does not create keys in the Windows registry other than for the "*.MyD" association.
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #13 on: March 21, 2009, 04:23:55 am »

I have there e.g. Nero.exe, which is for sure not related to booting time
Maybe you have a shortcut on your desktop? Icons are usually stored inside executables, so a program can be accessed at boot-time (and listed in the layout.ini file) just because of it's icon.
Logged
poutnik
JkDefrag Hero
*****
Posts: 1105


View Profile
« Reply #14 on: March 21, 2009, 06:12:08 am »

I have there e.g. Nero.exe, which is for sure not related to booting time
Maybe you have a shortcut on your desktop? Icons are usually stored inside executables, so a program can be accessed at boot-time (and listed in the layout.ini file) just because of it's icon.
Yes, it will be a reason.
« Last Edit: March 21, 2009, 06:56:52 am by poutnik » Logged

It can be fast, good or easy. You can pick just 2 of them....
Treating Spacehog zone by the same effort as Boot zone is like cleaning a garden by the same effort as a living room.
Pages: [1] 2
  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!