Page 1 of 1

Rename of folder - infinite loop

Posted: 21 Jan 2010 18:16
by blewis999
I am running Vista 64 SP 2

On some folders when I try to rename the folder but not all... I get a message "you need permission to perform this action" the title being "destination folder access denied".

Once in this loop there is no way out. Cancel and try again does not work. I have tried 'esc' and 'ctrl z' but nothing works. The only solution is to kill XYplorer.

I have tried changing the ownership of all the files in the folder, closing all programs and so on, but nothing works. There may be a process somewhere that has a lock on a file that I don't know about, but I don't see it if this is true.

What should happen is the cancel should revert the folder name back and cancel out of the operation if the rename failed. Try again doesn't do anything.

Re: Rename of folder - infinite loop

Posted: 21 Jan 2010 18:31
by zer0
According to the error messages that you're receiving, it appears that this can potentially be a permissions' issue.

Do you experience the same behaviour in Explorer?
What version of XYplorer are you using?
How are you trying to rename?
Does there seem to be any similarity between folders that you're trying to rename?

Sorry for that barrage of questions, but knowing those things will help in trying to determine the cause of this issue :)

P.S. On Vista 64-bit, you can use LockHunter (freeware) to find if a particular process has a handle on a folder that you're trying to rename. Give it a go just in case ;)

Re: Rename of folder - infinite loop

Posted: 21 Jan 2010 18:58
by blewis999
>Do you experience the same behaviour in Explorer?
Yes, Explorer does this as well. But when the Cancel is clicked, it cancels and goes back to the folder being renamed and puts back the original name, then you can cancel out without a problem. My guess is that if XYplorer did the same thing, ie put back the original name, you could get out of the infinite loop. This appears to be the difference in behaviour. That is when you Cancel out of the dialog, the 'renamed' name is left in the name and there is no way to correct the error even if you type the original name again. Because Windows is looking a change of field not the contents of the field.

>What version of XYplorer are you using?
V8.80
>How are you trying to rename?
Using the context menu, rt click, select rename, type a new name, enter, then the 'permissions box' occurs

>Does there seem to be any similarity between folders that you're trying to rename?
Not as far as I can see.

>P.S. On Vista 64-bit, you can use LockHunter (freeware) to find if a particular process has a handle on a folder that you're trying to rename. Give it a go just in >case
>According to the error messages that you're receiving, it appears that this can potentially be a permissions' issue.
I have tried LockHunter, it lists XYplorer.exe as the process locking the file. When I expand, it shows five
versions of XYplorer.exe with a lock on the file.

I then asked LockHunter to unlock the file and that worked. Now I can rename the file. So I am not sure why there were 5 locks on the file or how they got there because I only had one folder open and one version of XYplorer running. I had also tried rebooting but that didn't help.

Thank you for the help. LockHunter is a great program; what Windows should do is properly design the OS this kludged add on they did to the security system is a mess.

Re: Rename of folder - infinite loop

Posted: 21 Jan 2010 20:00
by admin
blewis999 wrote:I then asked LockHunter to unlock the file and that worked. Now I can rename the file. So I am not sure why there were 5 locks on the file or how they got there because I only had one folder open and one version of XYplorer running.
The locks are probably from XYplorer's Auto-Refresh hook. But this should not prevent you from renaming the folder. You might try whether disabling Auto-Refresh (menu View) solves the problem.