Page 1 of 3

Unable to delete long folder path when shell is used.

Posted: 08 May 2012 06:06
by Zardoz2293
Create a folder path via ctrl+n until you create a path deep enough to exceed the shell delete capability and a few more for good measure. Now make a backup of the root of this test folder/file path to preform tests again, and again via copy.

If you move to any folder in the path which is BELOW the 260 byte boundary and delete, a series of shell message are displayed to delete, however, you cannot as only the "skip" and "cancel" abilities exist. Expected result would to see the routine below implemented for the entire path as the path contains 260+ byte length OR to perform the action below at the 260+ byte level deep and then perform the shell for the delete path location as the 260+ byte path will no longer exist and the shell op will function correctly.

If you move to the folder which is the First folder at the 260+ byte deep and delete that folder all folder below will be deleted as one would expect (with the permanent removal message). = WORKS AS EXPECTED

Re: Unable to delete long folder path when shell is used.

Posted: 08 May 2012 09:51
by admin
Yes, confirmed. But to handle this would mean that before a deletion I would have to completely/recursively browse all folders in the selection to see whether there are any overlong paths contained. This can take a while...

An alternative would be to offer an additional native delete command that's permanent (no recycle bin) and handles overlong names. How shall I call it? Ninja Delete?

Re: Unable to delete long folder path when shell is used.

Posted: 08 May 2012 13:34
by Marco
Deep Permanent Delete?

Re: Unable to delete long folder path when shell is used.

Posted: 08 May 2012 19:42
by Zardoz2293
admin wrote:Yes, confirmed. But to handle this would mean that before a deletion I would have to completely/recursively browse all folders in the selection to see whether there are any overlong paths contained. This can take a while...[/b]?
From my perspective this would be the ideal way to handle it. But when the long path problem occurs, the end-user then must perform a manual hunting looking for where the 260+ byte folder is, so that can be deleted, and then return. It seems to me that the slight overhead for performing deletes will be directly related to how many folders will be removed. In most cases it will be instant and in significantly larger folder sets performing this action becomes even more valuable. Speed isn't everything, functionality is, and speed can always be improved over time; either algorithm enhancements, hardware updates, etc.
admin wrote:An alternative would be to offer an additional native delete command that's permanent (no recycle bin) and handles overlong names. How shall I call it? Ninja Delete

Ninja Delete would be awesome. There are other native file archive tools/services that are significantly more powerful than the aged and limited recycle bin. I'm sure there are those who might feel the recycle bin is important. I understand. Moving to new technology and workflows take time. Just from my perspective XY really needs to have the "option" to perform a "Ninja Delete" where extreme deep folder trees can be deleted without end-user hacking -- clean, intuitive, and elegant.

Re: Unable to delete long folder path when shell is used.

Posted: 09 May 2012 07:03
by admin
Zardoz2293 wrote:
admin wrote:Yes, confirmed. But to handle this would mean that before a deletion I would have to completely/recursively browse all folders in the selection to see whether there are any overlong paths contained. This can take a while...
From my perspective this would be the ideal way to handle it. But when the long path problem occurs, the end-user then must perform a manual hunting looking for where the 260+ byte folder is, so that can be deleted, and then return. It seems to me that the slight overhead for performing deletes will be directly related to how many folders will be removed. In most cases it will be instant and in significantly larger folder sets performing this action becomes even more valuable. Speed isn't everything, functionality is, and speed can always be improved over time; either algorithm enhancements, hardware updates, etc.
admin wrote:An alternative would be to offer an additional native delete command that's permanent (no recycle bin) and handles overlong names. How shall I call it? Ninja Delete
Ninja Delete would be awesome. There are other native file archive tools/services that are significantly more powerful than the aged and limited recycle bin. I'm sure there are those who might feel the recycle bin is important. I understand. Moving to new technology and workflows take time. Just from my perspective XY really needs to have the "option" to perform a "Ninja Delete" where extreme deep folder trees can be deleted without end-user hacking -- clean, intuitive, and elegant.
1. Yes, but a test like this would equal a "Preparing Delete..." (or so) phase as in Win7, and I think users are allergic to this... I rather go for "Ninja Delete".

2. I would love to add "Ninja Delete" but the term already has a funny and useful meaning (that I never knew before):
http://www.urbandictionary.com/define.p ... a%20delete

@Marco: Deep Permanent Delete is okay, but a little too long.

Any other idea for a name?

Re: Unable to delete long folder path when shell is used.

Posted: 09 May 2012 09:29
by grindax
.

Re: Unable to delete long folder path when shell is used.

Posted: 09 May 2012 09:37
by admin
grindax wrote:
admin wrote:Any other idea for a name?
Drill Delete ?
Sounds somewhat mysterious to me as a non-english speaker.

I currently prefer simply "Permanent Delete" and mention in the Help that it handles overlong names.
PS: OTOH, damn, there is File | File Special | Delete (No Recycle Bin) (Shift+Del) already, which is the shell's Permanent Delete. (And I want to keep this.)

Re: Unable to delete long folder path when shell is used.

Posted: 09 May 2012 15:58
by Zardoz2293
admin wrote:I currently prefer simply "Permanent Delete" and mention in the Help that it handles overlong names.
PS: OTOH, damn, there is File | File Special | Delete (No Recycle Bin) (Shift+Del) already, which is the shell's Permanent Delete. (And I want to keep this.)
Unfortunately, Shift+Del will not remove the folder/path/node if 260+ either.

Re: Unable to delete long folder path when shell is used.

Posted: 09 May 2012 16:01
by admin
Zardoz2293 wrote:
admin wrote:I currently prefer simply "Permanent Delete" and mention in the Help that it handles overlong names.
PS: OTOH, damn, there is File | File Special | Delete (No Recycle Bin) (Shift+Del) already, which is the shell's Permanent Delete. (And I want to keep this.)
Unfortunately, Shift+Del will not remove the folder/path/node if 260+ either.
Yeah, because it's shell. Therefore I need to add another command. With another name.

Re: Unable to delete long folder path when shell is used.

Posted: 09 May 2012 17:15
by PeterH
Will the user be able to decide which to use?

OK: for long names he can - but for short names?

Re: Unable to delete long folder path when shell is used.

Posted: 09 May 2012 19:22
by admin
PeterH wrote:Will the user be able to decide which to use?

OK: for long names he can - but for short names?
Sure, it will be a separate command.

Re: Unable to delete long folder path when shell is used.

Posted: 09 May 2012 20:34
by admin
Marathon Delete? Because it can delete long paths... :)

Re: Unable to delete long folder path when shell is used.

Posted: 09 May 2012 22:10
by LittleBiG
Deep Delete - Permanent is not too important in it.

EDIT: Or a very simple one: Total Delete.

EDIT2: Or a new name: Rasp. (Delete - shell delete, Wipe - destroy files, Rasp - rasping away files with long name)

EDIT3: Eradicate File

Re: Unable to delete long folder path when shell is used.

Posted: 09 May 2012 23:24
by eil
waiting for variants with Destroy, Demolish, Extinguish etc. :lol:
i'd simply call it Overlong Delete. :wink:

Re: Unable to delete long folder path when shell is used.

Posted: 09 May 2012 23:48
by Zardoz2293
It's a basic command concept with an absurd OS-based support as the Recycle Bin should be on par with the filesystem capability. Having XY extend basic functionality to include the ability to deal gracefully with 260 byte or longer should be intuitive in functionality as well as naming. Who cares or should be concerned about passing the 260 character limit as you are never notified of "going over" the limit when the event occurs. Simplicity is always the more elegant statement of supreme quality. Advantage of the phrase "Permanent Delete" (in English or equivalent in other languages) is unquestionable to even my mother. In the 'ideal' the you shouldn't have to reference the help to understand a capability, whenever possible. Keep It Super Simple (KISS).