Unable to delete long folder path when shell is used.
Forum rules
You might want to read this if you're looking for priority service
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%).
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.
How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
You might want to read this if you're looking for priority service
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%).
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.
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.
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
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%
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.
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?
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?
FAQ | XY News RSS | XY X
-
Marco
- Posts: 2354
- Joined: 27 Jun 2011 15:20
Re: Unable to delete long folder path when shell is used.
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]
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.
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: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]?
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%
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.
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".Zardoz2293 wrote: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: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...
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.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
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?
FAQ | XY News RSS | XY X
-
grindax
Re: Unable to delete long folder path when shell is used.
.
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.
Sounds somewhat mysterious to me as a non-english speaker.grindax wrote:Drill Delete ?admin wrote:Any other idea for a name?
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.)
FAQ | XY News RSS | XY X
-
Zardoz2293
- Posts: 638
- Joined: 09 Nov 2011 20:20
- Location: USA
Re: Unable to delete long folder path when shell is used.
Unfortunately, Shift+Del will not remove the folder/path/node if 260+ either.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.)
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%
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.
Yeah, because it's shell. Therefore I need to add another command. With another name.Zardoz2293 wrote:Unfortunately, Shift+Del will not remove the folder/path/node if 260+ either.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.)
FAQ | XY News RSS | XY X
-
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.
Will the user be able to decide which to use?
OK: for long names he can - but for short names?
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.
Sure, it will be a separate command.PeterH wrote:Will the user be able to decide which to use?
OK: for long names he can - but for short names?
FAQ | XY News RSS | XY X
-
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.
Marathon Delete? Because it can delete long paths... 
FAQ | XY News RSS | XY X
-
LittleBiG
- Posts: 1848
- Joined: 08 Apr 2011 12:57
- Location: Win10x64
Re: Unable to delete long folder path when shell is used.
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
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.
waiting for variants with Destroy, Demolish, Extinguish etc.
i'd simply call it Overlong Delete.
i'd simply call it Overlong Delete.
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.
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%
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%
XYplorer Beta Club