Solved Enable long file path names in Windows 11


A year ago, when I tested a bunch of third party file managers for long path support, I found that One Commander supports long paths, but Xplorer2 does not (not that you said it did - just clarifying).

Yeah, it's one of many reasons that I've moved to OC, though Nikos, developer of Xplorer², says it has supported them for 10 years - but it is still entwined with Windows Explorer settings, so runs into the issue above.

He discussed this in a blog 8 years ago lol.

 

My Computers

System One System Two

  • OS
    Windows 11 23H2 Current build
    Computer type
    PC/Desktop
    Manufacturer/Model
    HomeBrew
    CPU
    AMD Ryzen 9 3950X
    Motherboard
    MSI MEG X570 GODLIKE
    Memory
    4 * 32 GB - Corsair Vengeance 3600 MHz
    Graphics Card(s)
    EVGA GeForce RTX 3080 Ti XC3 ULTRA GAMING (12G-P5-3955-KR)
    Sound Card
    Realtek® ALC1220 Codec
    Monitor(s) Displays
    2x Eve Spectrum ES07D03 4K Gaming Monitor (Matte) | Eve Spectrum ES07DC9 4K Gaming Monitor (Glossy)
    Screen Resolution
    3x 3840 x 2160
    Hard Drives
    3x Samsung 980 Pro NVMe PCIe 4 M.2 2 TB SSD (MZ-V8P2T0B/AM) } 3x Sabrent Rocket NVMe 4.0 1 TB SSD (USB)
    PSU
    PC Power & Cooling’s Silencer Series 1050 Watt, 80 Plus Platinum
    Case
    Fractal Design Define 7 XL Dark ATX Full Tower Case
    Cooling
    Arctic Liquid Freezer III 420 RGB + Air 3x 140mm case fans (pull front) + 1x 120 mm (push back) and 1 x 120 mm (pull bottom)
    Keyboard
    SteelSeries Apex Pro Wired Gaming Keyboard
    Mouse
    Logitech MX Master 3S | MX Master 3 for Business
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
    Browser
    Nightly (default) + Firefox (stable), Chrome, Edge , Arc
    Antivirus
    Defender + MB 5 Beta
  • Operating System
    ChromeOS Flex Dev Channel (current)
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude E5470
    CPU
    Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    Motherboard
    Dell
    Memory
    16 GB
    Graphics card(s)
    Intel(R) HD Graphics 520
    Sound Card
    Intel(R) HD Graphics 520 + RealTek Audio
    Monitor(s) Displays
    Dell laptop display 15"
    Screen Resolution
    1920 * 1080
    Hard Drives
    Toshiba 128GB M.2 22300 drive
    INTEL Cherryville 520 Series SSDSC2CW180A 180 GB SATA III SSD
    PSU
    Dell
    Case
    Dell
    Cooling
    Dell
    Mouse
    Logitech MX Master 3S (shared w. Sys 1) | Dell TouchPad
    Keyboard
    Dell
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
@johnlgalt @zelarra821

I just tested Xplorer² 6.0.0.3 64 bit and it worked fine for me with long paths (e.g. I was able to create new folders that extended the path length).

I also tested the 32 bit version and encountered errors in long paths. For example, I got an error when attempting to rename a folder deep in a long path. It's possible when I tested a year ago I was using the 32 bit version.
 

My Computer

System One

  • OS
    Windows 10/11
    Computer type
    Laptop
    Manufacturer/Model
    Acer
Don’t the long file path names include all parent paths, ie:

Abcdefgh.mp4 Located in Music folder would be (long name)

C:\Users\username\music\Abcdefgh.mp4

So depending on how deep OP file is located, it will reach the max length sooner, correct?
 

My Computer

System One

  • OS
    Windows 11 Pro
Don’t the long file path names include all parent paths, ie:

Abcdefgh.mp4 Located in Music folder would be (long name)

C:\Users\username\music\Abcdefgh.mp4

So depending on how deep OP file is located, it will reach the max length sooner, correct?

That is my understanding. It can cause untold problems when there is an array of subfolders.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build 22631.4249
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    4 x LG 23MP75 - 2 x 24MK430H-B - 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    100/40Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 23H2 Build: 22631.4249
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Other Info
    …still on a horse.
Don’t the long file path names include all parent paths, ie:

Abcdefgh.mp4 Located in Music folder would be (long name)

C:\Users\username\music\Abcdefgh.mp4

So depending on how deep OP file is located, it will reach the max length sooner, correct?
Correct.
 

My Computer

System One

  • OS
    Windows 10/11
    Computer type
    Laptop
    Manufacturer/Model
    Acer

You can get around long path names a few ways discussed there. Mklink and Subst are two of them.
 

My Computer

System One

  • OS
    Windows 11 Pro
Ok, thanks for the information.
 

My Computer

System One

  • OS
    Windows 11 Home 23H2
    Computer type
    Laptop
@dacrone
@zelarra821

As I've said "As Nauseam" -- it doesn't matter what you change in the registry or tweaks to Windows itself if the application you are using still uses the old API which doesn't support long file / path names. I'm amazed that there's still misunderstanding on this here. File explorer still uses the old API so do a lot of those windows programs that throw up a small pane when you need to select a file to use with an application.

It doesn't matter for example if you have a drain capable of emptying say 5000 litres of liquid a minute if the connector to the drain only allows a throughput of 100 litres a minute.

That's the same with Windows -- the Windows system is like the drain and the application is like the connector.

Too many people seem to just go for the complex stuff - and if you have to write your own scripts - well that's just another App accessing the appropriate API, which assuming it's enabled in Windows then it will work properly.

Most want just a decent file manager that works properly and these days with large storage NAS's it's quite easy to get files / path names that exceed the 266 byte limit.

Even macrium has a problem -- copy an image to a shared folder on a NAS and make the path longer than 266 chars. Now see if Macrium can locate the image.

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
@johnlgalt @zelarra821

I just tested Xplorer² 6.0.0.3 64 bit and it worked fine for me with long paths (e.g. I was able to create new folders that extended the path length).

I also tested the 32 bit version and encountered errors in long paths. For example, I got an error when attempting to rename a folder deep in a long path. It's possible when I tested a year ago I was using the 32 bit version.

I contacted the Xplorer² developer on his forums, and he had this to say about the 32-bit version:

when creating long paths, there could be trouble at the crossover point where the path length exceeds 255 characters

at that point you can use CTRL+F2 to rename the semi-deep folder name (instead of F2 or when F8 creation fails)

from then on, you should be ok digging deeper

So, there is a workaround for the 32-bit version to allow for longer paths that doesn't run into the Windows API brick wall.

 

My Computers

System One System Two

  • OS
    Windows 11 23H2 Current build
    Computer type
    PC/Desktop
    Manufacturer/Model
    HomeBrew
    CPU
    AMD Ryzen 9 3950X
    Motherboard
    MSI MEG X570 GODLIKE
    Memory
    4 * 32 GB - Corsair Vengeance 3600 MHz
    Graphics Card(s)
    EVGA GeForce RTX 3080 Ti XC3 ULTRA GAMING (12G-P5-3955-KR)
    Sound Card
    Realtek® ALC1220 Codec
    Monitor(s) Displays
    2x Eve Spectrum ES07D03 4K Gaming Monitor (Matte) | Eve Spectrum ES07DC9 4K Gaming Monitor (Glossy)
    Screen Resolution
    3x 3840 x 2160
    Hard Drives
    3x Samsung 980 Pro NVMe PCIe 4 M.2 2 TB SSD (MZ-V8P2T0B/AM) } 3x Sabrent Rocket NVMe 4.0 1 TB SSD (USB)
    PSU
    PC Power & Cooling’s Silencer Series 1050 Watt, 80 Plus Platinum
    Case
    Fractal Design Define 7 XL Dark ATX Full Tower Case
    Cooling
    Arctic Liquid Freezer III 420 RGB + Air 3x 140mm case fans (pull front) + 1x 120 mm (push back) and 1 x 120 mm (pull bottom)
    Keyboard
    SteelSeries Apex Pro Wired Gaming Keyboard
    Mouse
    Logitech MX Master 3S | MX Master 3 for Business
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
    Browser
    Nightly (default) + Firefox (stable), Chrome, Edge , Arc
    Antivirus
    Defender + MB 5 Beta
  • Operating System
    ChromeOS Flex Dev Channel (current)
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude E5470
    CPU
    Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    Motherboard
    Dell
    Memory
    16 GB
    Graphics card(s)
    Intel(R) HD Graphics 520
    Sound Card
    Intel(R) HD Graphics 520 + RealTek Audio
    Monitor(s) Displays
    Dell laptop display 15"
    Screen Resolution
    1920 * 1080
    Hard Drives
    Toshiba 128GB M.2 22300 drive
    INTEL Cherryville 520 Series SSDSC2CW180A 180 GB SATA III SSD
    PSU
    Dell
    Case
    Dell
    Cooling
    Dell
    Mouse
    Logitech MX Master 3S (shared w. Sys 1) | Dell TouchPad
    Keyboard
    Dell
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth

Latest Support Threads

Back
Top Bottom