Unable to delete long folder path when shell is used.

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Zardoz2293
Posts: 638
Joined: 09 Nov 2011 20:20
Location: USA

Unable to delete long folder path when shell is used.

Post 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
XYplorer v28.50.0101

MacOS Tahoe v27.2.1 ; Parallels for Mac
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.10075(10.0)
Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%

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

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

Post 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?

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

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

Post by Marco »

Deep Permanent Delete?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Zardoz2293
Posts: 638
Joined: 09 Nov 2011 20:20
Location: USA

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

Post 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.
XYplorer v28.50.0101

MacOS Tahoe v27.2.1 ; Parallels for Mac
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.10075(10.0)
Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%

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

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

Post 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?

grindax

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

Post by grindax »

.
Last edited by grindax on 22 Jan 2016 23:49, edited 1 time in total.

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

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

Post 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.)

Zardoz2293
Posts: 638
Joined: 09 Nov 2011 20:20
Location: USA

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

Post 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.
XYplorer v28.50.0101

MacOS Tahoe v27.2.1 ; Parallels for Mac
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.10075(10.0)
Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%

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

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

Post 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.

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

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

Post by PeterH »

Will the user be able to decide which to use?

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

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

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

Post 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.

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

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

Post by admin »

Marathon Delete? Because it can delete long paths... :)

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

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

Post 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

eil
Posts: 1931
Joined: 13 Jan 2011 19:44

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

Post by eil »

waiting for variants with Destroy, Demolish, Extinguish etc. :lol:
i'd simply call it Overlong Delete. :wink:
Win 7 SP1 x64 100% 1366x768|1900x1080

Zardoz2293
Posts: 638
Joined: 09 Nov 2011 20:20
Location: USA

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

Post 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).
XYplorer v28.50.0101

MacOS Tahoe v27.2.1 ; Parallels for Mac
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.10075(10.0)
Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%

Post Reply