Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
August 29, 2014, 09:05:01 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to run a script at next startup?  (Read 1470 times)
pstein
JkDefrag Senior
****
Posts: 24


View Profile
« on: September 12, 2011, 06:18:33 am »

After a run of the "SortByName" script 2% (maybe 3%) are still unfragmented or unmoveable.
I guess its e.g. the swapfile.

How can I tell MyDefrag to run the SortByName script not immediately but at next startup (at a time when no swapfile has been created)?

Peter
Logged
Darlis
JkDefrag Hero
*****
Posts: 1768


View Profile WWW
« Reply #1 on: September 12, 2011, 11:29:04 am »

Short answer: You can't.

MyDefrag depends on the Windows Defragmentation API which is only available after Windows has booted.
You can try to defragment it in Windows Safe Mode or boot from a CD with Windows ("Win PE").

You can also take a look at the MyDefrag.log file in the MyDefrag folder. It contains information like which files couldn't be moved and which files are fragmented.

Also note that the SortByName script does not defragment all files. See [FAQ]Why does MyDefrag not perfectly optimize my disk? for further information.

And btw. you're in the JKDefrag Subforum. Wink
Logged

Need help creating a script? Try MyDefrag Script Creator.
Pages: [1]
  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!