Delete all exept files in use

Features wanted...
Post Reply
itsme28m
Posts: 124
Joined: 03 Sep 2006 16:49
Location: Belgium

Delete all exept files in use

Post by itsme28m »

Hi,

Something that i really don't like for ages, is that fact that if you for example, click on a temp folder, then click in an emtpy space where the files are, do a ctrl-a to select everything, and then choose to delete them, then you every time get the message that a file can't be deleted because it is in use, fine, but then the deleting stops... and all other files that are not in use aren't deleted. This is thesame in xyplorer. It would be much better, if you would get the message that there are files in use, but that you have the option to remove all files that are not in use. Anybody else who doesn't like this? And yes, you can go to your c drive, select properties, and then deleting the temp files, but when i did that just now, i have over 200MB left, when i removed some directory's by hand and some files that aren't in use, i had about 3,5MB, big difference, and now there are still files left that are not in use, but for removing these i have to try to delete every single file to see that it works. It would be much better if xyplorer could just delete every file that is not in use, and leave those that are in use automatically. This behaviour in explorer somethimes makes me nuts, i hope xyplorer can make it a problem from the past.

Greetings,

Steve

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

I, for one, definitely find this quite :evil: !
When Win Expl hits one that is in use, it just gives up...and then I'm left trying to make sure which exact file(s) it was so I don't select it/them again...
So XY does the same thing? Hummm...Well then...seems like a place where XY can take the lead! :wink:

How best to handle it? Maybe just a msg box at end of operation saying "xx files were in use and bypassed"?
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.

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

Since XY doesn't do any file operations itself, everything will behave as in Explorer as it is the same operations happenning.

For what you want, I think it would involve that XY actually does the file operations itself rather than using system's APIs. It could allow a lot of new/powerfull/usefull features added to move/copy/delete operations; but I don't think this is planned for soon ;)

One thing XY could even deal with on its own then would be to handle locked files/folders yes. In the mean time, you might wanna check the Unlocker out!

ps: Regarding copy/move operations, not delete though, I'd mention SuperCopier. Nice little freeware faster and that deals with errors, etc but unfortunately it's a bit buggy at times (ie. doesn't deal with focus right, so features like autorefresh or auto-select after paste don't work right, and gets buggy with "Paste in New Subfolder" or "Paste As" too, ie. creates a new folder with that name and put the file(s), names unchanged, in it. :?
So, while waiting for XY to do it on its own ;) you gotta turn SC on/off depending on what you're doing....
Proud XYplorer Fanatic

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

I'll defer to Don for the accurate answer, but I'd wonder even if XY doesn't handle the actual delete, I would suspect it should get some response code for each attempted file delete and be able to ignore any that fail and continue on to the next one in the selected list, unless the list is passed as a whole to Windows, in which case, one failure would abort entire request...
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.

ugus
Posts: 211
Joined: 02 Jun 2006 16:42

Post by ugus »

Unlocker seems to be a cool solution...I will give it a try.

Adding an alternative "Delete" to XY which doesn't use fileapi:s (maybe slower....) just to skip locked files when deleting would be great.


SuperCopier - I didn't find where to download it compiled.... :(

/Ulrik

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

ugus wrote:SuperCopier - I didn't find where to download it compiled.... :(
hmm yeah seems to be missing, weird. Anyways, here's the link from their website: http://sfxteam.free.fr/SuperCopier2beta1-9.exe
Proud XYplorer Fanatic

admin
Site Admin
Posts: 66249
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

j_c_hallgren wrote:I'll defer to Don for the accurate answer, but I'd wonder even if XY doesn't handle the actual delete, I would suspect it should get some response code for each attempted file delete and be able to ignore any that fail and continue on to the next one in the selected list, unless the list is passed as a whole to Windows, in which case, one failure would abort entire request...
Unfortunately the latter is the case.

I'm just checking if I can pass one-by-one and disable the locked message if I want to.

admin
Site Admin
Posts: 66249
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

j_c_hallgren wrote:...seems like a place where XY can take the lead!

Code: Select all

+++ Menu File: added command "Delete (Skip Locked)".
XY took the lead! :D

ugus
Posts: 211
Joined: 02 Jun 2006 16:42

Post by ugus »

I'm so impressed! :D

/Ulrik

itsme28m
Posts: 124
Joined: 03 Sep 2006 16:49
Location: Belgium

That is great!

Post by itsme28m »

Very good! thanks, i'm sure i will use that often ;-). And so fast, i didn't like this in windows explorer for years...

Tamil
Posts: 129
Joined: 10 Sep 2006 14:30
Location: .in
Contact:

Post by Tamil »

8) Thanks. :D

Post Reply