Multi Commander > Support and Feedback

function IsFolder not working with long path in windows 10

(1/1)

hlhp:
multi-script function IsFolder https://bit.ly/3pZJ1Uy
seems not working with long path in windows 10

AlanJB:
How long is the path?  Is it in double quotes?

Mathias (Author):

--- Quote from: hlhp on July 24, 2023, 13:22:45 ---multi-script function IsFolder https://bit.ly/3pZJ1Uy
seems not working with long path in windows 10

--- End quote ---
Yes look like the script function is using the wrong internal method, and is not fall backing to retry with UNC path.. I will fix that for next release

It should work if you append "\\?\" before the path..  Window support long path for path using UNC path..   \\?\E:\Temp  instead of E:\Temp

hlhp:

--- Quote from: Mathias (Author) on July 24, 2023, 16:04:04 ---
append "\\?\" before the path..  Window support long path for path using UNC path..   \\?\E:\Temp  instead of E:\Temp

--- End quote ---

thank you, it works :)

Navigation

[0] Message Index

Go to full version