Improved support for Long paths
Posted: 2024-10-23, 10:54 UTC
There are 2 suggestions:
1. Run any files with long paths on NETWORK DRIVES (for example, "\\NAS\Very\Long\Fullpath\...\More\Than\259\Symbols\file.docx")
As an example: so that when you try to launch using ENTER, Total Commander would automatically suggest copying the file under the cursor to a temporary directory (%temp%) with possible renaming of the file in 8.3 format (if the path+name in %temp% is also >259 characters, that is, a long file name - about 255 characters) for its successful opening. With subsequent deletion after closing (as when starting file from an archive).
2. Transferring Long UNC names to plugins when the path length is exceeded. Some plugins (For example, Ulister) successfully display the contents of files over long paths (even on network drives), but most other plugins cannot do this. I don’t know how Ulister works with long paths, but most likely the path is recognized: if local, then “\\?\” is added to the full path, and if network, then “\\?\UNC\”. Is it possible to make sure that when passing the full path of the file under the cursor to the plugin, a path with such a prefix is immediately formed (you can specify it with an additional operator in the detection string).
1. Run any files with long paths on NETWORK DRIVES (for example, "\\NAS\Very\Long\Fullpath\...\More\Than\259\Symbols\file.docx")
As an example: so that when you try to launch using ENTER, Total Commander would automatically suggest copying the file under the cursor to a temporary directory (%temp%) with possible renaming of the file in 8.3 format (if the path+name in %temp% is also >259 characters, that is, a long file name - about 255 characters) for its successful opening. With subsequent deletion after closing (as when starting file from an archive).
2. Transferring Long UNC names to plugins when the path length is exceeded. Some plugins (For example, Ulister) successfully display the contents of files over long paths (even on network drives), but most other plugins cannot do this. I don’t know how Ulister works with long paths, but most likely the path is recognized: if local, then “\\?\” is added to the full path, and if network, then “\\?\UNC\”. Is it possible to make sure that when passing the full path of the file under the cursor to the plugin, a path with such a prefix is immediately formed (you can specify it with an additional operator in the detection string).