Page 2 of 3

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

Posted: 10 May 2012 00:42
by PeterH
admin wrote:
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.
Oh sorry: I meant just the opposite :roll:

How will the user decide when he should take one or the other command?

And why not always take the command able to handle the overlong paths? (Then the other would not be needed...)

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

Posted: 10 May 2012 00:54
by Zardoz2293
Why would it be a separate command? It should be like the normal delete. However, if it's unable to delete it as it's 260 bytes plus, then it give notice and ask if you want to perform permanent delete. It's like saving the current root delete path and upon return from the delete if the root delete path still exists we know we have crap that's 260 bytes and beyond, so engage the permanent delete (perhaps prompt the user to proceed or cancel).

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

Posted: 10 May 2012 07:20
by admin
I'll call it it "Delete Long". This name fits well into the delete section of the File Special submenu, and it tells what it's there for. You only need this command for overlong names.

"Permanent Delete" is also a correct name, but:
- also "Delete (No Recycle Bin)" is a permanent delete, only performed by the shell
- "Permanent Delete" seems to suggest something in the line of Wipe, which is misleading

It is important to have an extra command because:
- automatic detection of the necessity of a Delete Long (for items under the selected items) would be too slow (and is already implemented for the case that the selected items are overlong)
- for the marketing effect: google for "path too long" and you see a big demand for a function that can delete overlong items. "Delete Long" comes to rescue.
- the shell command "Delete (No Recycle Bin)" should be kept for those users who like the nice animated interface or whatever gimmicks the shell will offer in future Windows.

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

Posted: 10 May 2012 08:47
by Zardoz2293
admin wrote:It is important to have an extra command because:
Is this going to be an option that allows those who want it always invoked to be turned on, if they desire?

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

Posted: 10 May 2012 08:50
by admin
It's a command, you'll see it soon.

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

Posted: 10 May 2012 14:29
by grindax
.

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

Posted: 10 May 2012 14:37
by admin
That's why you can turn it on/off: Configuration | Advanced | Support overlong filenames

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

Posted: 10 May 2012 23:06
by Zardoz2293
grindax wrote:Something I've been wondering: If 260+ character paths have the potential to cause problems (interoperability failures, incompatibility, etc.) in general, then why is it considered a good thing to support such long paths, whether that be creating them or manipulating them?
The problems exist (short filename/pathname) as software hasn't been updated to use the new routines/functions/methods/Win32 API for long-name support. Amazingly, Microsoft had this problem for well over 10 years in their products (and still does in some products).
grindax wrote:I've only skimmed through articles such as this:
http://msdn.microsoft.com/en-us/library ... s.85).aspx
but it sounds like trying to work with 260+ paths is a bad idea and goes against established conventions and limitations.
I think this argument is to support their inability to correct their own products which created much distress with regard to this subject (Office). Apparently eye candy (ribbon) features were more important than resolving long path support.
grindax wrote:Wouldn't someone who somehow ended up with such long paths be better off simply identifying and rectifying any paths/names which are too long? Which would mean shortening or deleting being the only advisable actions. Have I understood this correctly?
This was one method necessary to work with the MS Office product on some versions. This is one reason why the "Users" folder structure has changed so much. It was quarter-baked when done in Windows 95 and it's evolved from there. Frankly, why would anyone want 260 characters or less support? To top it off, I'm not aware of any capability in the OS where you can check off you don't want anything created that would exceed 260 bytes. It's a real mess and don't expect it to be resolved until iOS becomes the industry leader or another decade goes by as bells and whistles, eye candy are the primary focus. I'd pay for any update to the Windows if it only included all known reported bugs; but then the people of the world would be compelled to create an Earth day holiday! :mrgreen:

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

Posted: 11 May 2012 00:20
by RalphM
Zardoz2293 wrote:...I'd pay for any update to the Windows if it only included all known reported bugs...
No need, you probably already paid for all the bugs, even the yet unreported ones, he he.

Sorry, just couldn't resist :kidding:

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

Posted: 11 May 2012 00:40
by Zardoz2293
RalphM wrote:
Zardoz2293 wrote:...I'd pay for any update to the Windows if it only included all known reported bugs...
No need, you probably already paid for all the bugs, even the yet unreported ones, he he.

Sorry, just couldn't resist :kidding:
You are very funny AND absolutely correct. :D

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

Posted: 11 May 2012 09:54
by Zardoz2293
I like how it works. However, I really feel there needs to a configuration setting that would allow the delete operation to work:
  • Delete:
  • Recycle Bin = Checked/Unchecked
    OR
  • Remove Long = Checked/Unchecked

    WITH
  • Skipped Locked = Checked/Unchecked
  • Wipe = Checked/Unchecked
In my environment, the I always want delete to remove long paths. Would be great to have the ability to delete all long paths with skipping locked or added wipe as standard in the delete operation.

Code: Select all

+ Menu File | File Special: Added command "Delete Long". Use it to
      delete the selected Tree or List item(s) even when they have
      overlong paths (> 260 characters). The deletion is permanent since
      the Recycle Bin does not support items that long.
      The action is listed in the Action Log but cannot be undone.

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

Posted: 11 May 2012 10:13
by admin
That could be added to the Nuke command/button. We'll see how big the demand for this is...

BTW, Wipe always handles overlong names (if overlong name support is enabled). There is a little problem with speed though, that will be fixed in the version.

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

Posted: 11 May 2012 11:08
by Zardoz2293
admin wrote:That could be added to the Nuke command/button. We'll see how big the demand for this is...

BTW, Wipe always handles overlong names (if overlong name support is enabled). There is a little problem with speed though, that will be fixed in the version.
Ladies and Gentlemen, I'm a simple man. I'm seeing it implemented when I press the "delete" key (and it would be defined how it operates via the configuration).

I tested the feature and like the functionality. However, going through the menu to delete is awkward. So this means, that I'll do the normal delete (keyboard). Get an error dialog it can't be performed. Get another dialog message. Then do Menu | File Special | Delete Long. :roll: :? :shock: :veryconfused:

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

Posted: 11 May 2012 11:44
by admin
Zardoz2293 wrote:
admin wrote:That could be added to the Nuke command/button. We'll see how big the demand for this is...

BTW, Wipe always handles overlong names (if overlong name support is enabled). There is a little problem with speed though, that will be fixed in the version.
Ladies and Gentlemen, I'm a simple man. I'm seeing it implemented when I press the "delete" key (and it would be defined how it operates via the configuration).
Well, simply map DEL key to Delete Long.

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

Posted: 11 May 2012 23:21
by highend
Please reconsider changing the wipe command...

It was lightning fast before and now it's slow as hell.

1,27GB test file, it took less than 30 seconds to wipe it (beyond recovery) and now with .0015 it takes more than three minutes.
There is a little problem with speed though, that will be fixed in the version
Is this a version > .0015 or should that change already have taken place in the current one?