Delete which skips locked files
Delete which skips locked files
A nice feature would be a kind of Delete or Nuke which
skipped locked files.
For example if I want to clean up in my temp folder, I just want to skip the locked files.
/Ulrik
skipped locked files.
For example if I want to clean up in my temp folder, I just want to skip the locked files.
/Ulrik
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Delete which skips locked files
Sounds cool, remind me in 2 weeks.ugus wrote:A nice feature would be a kind of Delete or Nuke which
skipped locked files.
Something related to this could be a kind of "safe-copy" e.g.admin wrote:Sounds cool, remind me in 2 weeks.
a copy procedure which doesn't stop like Windows if either the file is locked or in corrupted.
Maybe some kind of logfile after the operation which indicate on which files you had an error.
Another cool feature to add; delete files on reboot.
This could be nice to apply on locked in-use files.
See also
http://www.xyplorer.com/xyfc/viewtopic.php?t=1004
/Ulrik
-
- XY Blog Master
- Posts: 5824
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
I may be totally wrong, but it's my understanding that this is done via entries placed in the Registry...which would seem to be incompatible with XY operational principles..ugus wrote:Another cool feature to add; delete files on reboot.
This could be nice to apply on locked in-use files.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
So, another one took the job of reminding me, Ulrik, and opened the same idea in yet another thread. I see it's urgent. Especially because I would really like to have that myself!ugus wrote:http://www.xyplorer.com/xyfc/viewtopic.php?t=1004admin wrote:Sounds cool, remind me in 2 weeks.
But, as jacky said in the other thread: it means some homework for me...
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Delete which skips locked files
ugus wrote:A nice feature would be a kind of Delete or Nuke which
skipped locked files.
Code: Select all
+++ Menu File: added command "Delete (Skip Locked)"...
Re: Delete which skips locked files
I did a fast test drive cleaning up temp folder.admin wrote:ugus wrote:A nice feature would be a kind of Delete or Nuke which
skipped locked files.Test it and tell me what you think.Code: Select all
+++ Menu File: added command "Delete (Skip Locked)"...
This messages popping up:
Your selection contains 2 locked files which will be skipped from deletion.
Click OK to continue with the deletion of the 1025 unlocked files.
Your selection now contains 36 empty folders
Click OK to delete them now.
Works fine!
Eventually a question about the last message? is this necessary? I already want to clear up the temp folder, selected all items, I don't need a confirmation about empty folders...
Maybe you should add a similar command nuking alternative instead of deleting.
Otherwise works like a charm!
/Ulrik
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Delete which skips locked files
I added the "Your selection now contains ... empty folders" message to prepare the user for the following delete confirmation message. Otherwise you would get two delete confirmation messages directly following each other which is confusing I feel.
Re: Delete which skips locked files
Ok...I'll seeadmin wrote:I added the "Your selection now contains ... empty folders" message to prepare the user for the following delete confirmation message. Otherwise you would get two delete confirmation messages directly following each other which is confusing I feel.
A nuking (skip locked files) alternative would also be great!
Maybe Shift + Click on the Nuke button to invoke a Nuke (skipping locked files)
/Ulrik
Last edited by ugus on 19 Sep 2006 12:16, edited 1 time in total.
Re: Delete which skips locked files
Why don't you put 'em both in one message, like:ugus wrote:This messages popping up:
Your selection contains 2 locked files which will be skipped from deletion.
Click OK to continue with the deletion of the 1025 unlocked files.
Your selection now contains 36 empty folders
Click OK to delete them now.
Your selection contains 2 locked files which will be skipped from deletion.
Click OK to continue with the deletion of 1025 unlocked files and 36 folders.
EDIT: Sorry, just read the change log now - so that idea is probably not possible, since you don't seem to know in step (1) about the number of empty folders that will result from the delete op.
Ralph
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Delete which skips locked files
Because I know only after the deletion of the files which folders are empty. You might for example have said "no" to a "Delete read-only file?"-prompt...RalphM wrote:Why don't you put 'em both in one message, like:ugus wrote:This messages popping up:
Your selection contains 2 locked files which will be skipped from deletion.
Click OK to continue with the deletion of the 1025 unlocked files.
Your selection now contains 36 empty folders
Click OK to delete them now.
Your selection contains 2 locked files which will be skipped from deletion.
Click OK to continue with the deletion of 1025 unlocked files and 36 folders.
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Delete which skips locked files
You got it.RalphM wrote:EDIT: Sorry, just read the change log now - so that idea is probably not possible, since you don't seem to know in step (1) about the number of empty folders that will result from the delete op.
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Delete which skips locked files
I'll add 2 things:ugus wrote:A nuking (skip locked files) alternative would also be great!
Maybe Shift + Click on the Nuke button to invoke a Nuke (skipping locked files)
(1) SHIFT + delete (skip locked): -> no recycle bin
(2) SHIFT (or maybe rather CTRL??)+Nuke: -> skip locked
OR
(2) or simply make Nuke always skip locked!! Since Nuke has no confirmation dialogs anyway, it will be almost as fast as now and avoid all the locked trouble!
BTW: I wonder whether I should generally do CTRL+DEL -> skip locked. But this needs careful consideration... later.
Re: Delete which skips locked files
I'll vote for making Nuke always skip locked.admin wrote:
(2) or simply make Nuke always skip locked!! Since Nuke has no confirmation dialogs anyway, it will be almost as fast as now and avoid all the locked trouble!
Just my two cents /Ulrik