A tip that i use with JKdefrag ( the old Mydefrag ) with windows XP to have it in the contextual menu (... right click on a folder, a file, or a drive ) wich could work with MyDefrag ?:
1/ Copy JkDefrag.exe in WINDOWS\system32\
2/ Create a .txt file with that code or part of code inside:
CODE
Windows Registry Editor Version 5.00
; "Défrag" for folders
[-HKEY_CLASSES_ROOT\Directory\shell\Defrag.Target]
[HKEY_CLASSES_ROOT\Directory\shell\Defrag.Target]
@=">>>> Défrag that folder"
[HKEY_CLASSES_ROOT\Directory\shell\Defrag.Target\command]
@="JkDefrag.exe -a 4 \"%1\""
; "Défrag" for files
[-HKEY_CLASSES_ROOT\*\shell\Defrag.Target]
[HKEY_CLASSES_ROOT\*\shell\Defrag.Target]
@=">>>> Défrag that file"
[HKEY_CLASSES_ROOT\*\shell\Defrag.Target\command]
@="JkDefrag.exe -a 4 \"%1\""
; "Défrag" for C,D, etc drive
[-HKEY_CLASSES_ROOT\Drive\shell\Defrag.Target]
[HKEY_CLASSES_ROOT\Drive\shell\Defrag.Target]
@=">>>> Défrag that HD"
[HKEY_CLASSES_ROOT\Drive\shell\Defrag.Target\command]
@="JkDefrag.exe -a 4 %1"
Rename it defrag.reg for example and double click on it to create the reg values.
BUT THINK TO SAVE YOUR REGISTRY BEFORE.