Page 1 of 1

Delete all exept files in use

Posted: 15 Sep 2006 03:11
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

Posted: 15 Sep 2006 03:31
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"?

Posted: 15 Sep 2006 17:51
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....

Posted: 15 Sep 2006 18:08
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...

Posted: 15 Sep 2006 18:09
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

Posted: 15 Sep 2006 20:54
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

Posted: 16 Sep 2006 09:02
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.

Posted: 19 Sep 2006 11:05
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

Posted: 19 Sep 2006 11:11
by ugus
I'm so impressed! :D

/Ulrik

That is great!

Posted: 19 Sep 2006 13:45
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...

Posted: 21 Sep 2006 18:47
by Tamil
8) Thanks. :D