Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 24, 2013, 12:15:51 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: "Windows could not move the file. Trying alternate method." Why?  (Read 2467 times)
emarkay
Newbie
*
Posts: 1


View Profile
« on: May 07, 2008, 02:26:30 pm »

Using JKD 3.32 with JkDefragGUI 1.01.
 
Occasionally I see the message: "Windows could not move the file. Trying alternate method."

There does not seem to be a problem, and it dies seem to move the data OK, but I am just curious as to the reason.

BTW, you all should be praised by the community for your fantastic work!

MRK
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #1 on: May 07, 2008, 04:22:55 pm »

JkDefrag is based on the Windows defragmentation API. It does not move files by itself, but sends instructions to the API to move files. Sometimes the API refuses to move a file, or moves only a part, thereby fragmenting the file. JkDefrag therefore checks if a file has been moved properly, and if not then tries again (by calling the API slightly differently). I don't know why the API sometimes refuses to move a file, or moves only a part of a file. It seems to happen most frequently (but not only) when a file is moved to a gap that was vacated just before, even though the same API has finished the previous move and reports the area now to be totally empty.
Logged
WHRoeder
JkDefrag Hero
*****
Posts: 180


View Profile
« Reply #2 on: May 08, 2008, 09:01:00 pm »

This gap delay is what DIRMS.com posts as his major feature.
I suggest that when this happends, switch to the next zone now and retry later.
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #3 on: May 08, 2008, 10:58:13 pm »

I suggest that when this happends, switch to the next zone now and retry later.
I have tried many things, and have finally settled on the "alternative method". The normal JkDefrag method is faster and works fine in most cases, the alternative method is slower and takes care of the rest.
Logged
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!