title
Products            Buy            Support Forum            Professional            About            Codec Central
 

add long path support in windows 10 and + to dbpoweramp apps

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hontored

    • Aug 2021
    • 4

    add long path support in windows 10 and + to dbpoweramp apps

    Hello,

    windows 10 and + can support long paths of up to 32,767 characters.

    Could you make it available in dbpoweramp apps ?

    In the bootom link it is explained that both a setting must be activated in windows and the application must be compiled with the manifest following:
    "
    <application xmlns="urn:schemas-microsoft-com:asm.v3">
    <windowsSettings xmlns:ws2="http://schemas.microsoft.com/SMI/2016/WindowsSettings">
    <ws2:longPathAware>true</ws2:longPathAware>
    </windowsSettings>
    </application>
    "

    Starting in Windows 10, version 1607, MAX_PATH limitations have been removed from many common Win32 file and directory functions. However, your app must opt-in to support the new behavior.


    That would be great!
    Best
  • Spoon
    Administrator
    • Apr 2002
    • 44520

    #2
    Re: add long path support in windows 10 and + to dbpoweramp apps

    It is a massive can of worms, our code has been able to support any length of pathnames, for the last 10 years, it is however specific on the OS and location that is written. If someone rips to a network location it is almost certainly not long path aware.
    Spoon
    www.dbpoweramp.com

    Comment

    • hontored

      • Aug 2021
      • 4

      #3
      Re: add long path support in windows 10 and + to dbpoweramp apps

      I am actually trying to write to a hardisk in my computer in windows 10.

      Windows 10 longpath support was added since build 1607...

      For it to work you need both to activate this in the OS (which I did) and compile the software with the above manifest... (for what it's worth since I don't know anything about manifests )

      the info is from microsoft here :
      Starting in Windows 10, version 1607, MAX_PATH limitations have been removed from many common Win32 file and directory functions. However, your app must opt-in to support the new behavior.


      So call it as you may, but I can rename a very long file with cmd.exe in the same directories on the same disk but it comes truncated with dbpoweramp... How is that so ?

      Thank you for your support...

      Comment

      • Spoon
        Administrator
        • Apr 2002
        • 44520

        #4
        Re: add long path support in windows 10 and + to dbpoweramp apps

        Currently all our programs will shorten to 255 characters, that is by design, it could be a later version would allow beyond 255 if specified.
        Spoon
        www.dbpoweramp.com

        Comment

        • GBrown
          dBpoweramp Guru

          • Oct 2009
          • 337

          #5
          Re: add long path support in windows 10 and + to dbpoweramp apps

          Originally posted by hontored
          I am actually trying to write to a hardisk in my computer in windows 10.

          Windows 10 longpath support was added since build 1607...

          For it to work you need both to activate this in the OS (which I did) and compile the software with the above manifest... (for what it's worth since I don't know anything about manifests )

          the info is from microsoft here :
          Starting in Windows 10, version 1607, MAX_PATH limitations have been removed from many common Win32 file and directory functions. However, your app must opt-in to support the new behavior.


          So call it as you may, but I can rename a very long file with cmd.exe in the same directories on the same disk but it comes truncated with dbpoweramp... How is that so ?

          Thank you for your support...
          This will very likely cause significant file name issues if you move or copy outside of this environment. Just a note in case you are note eoleLy work8ng from this computer.

          Comment

          • hontored

            • Aug 2021
            • 4

            #6
            Re: add long path support in windows 10 and + to dbpoweramp apps

            It would be nice to have the choice to get pathnames+filenames > 255 or not with a configuration parameter

            Comment

            Working...

            ]]>