Multi Commander Support Forum

Multi Commander => Support and Feedback => Topic started by: hlhp on July 24, 2023, 13:22:45

Title: function IsFolder not working with long path in windows 10
Post by: 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
Title: Re: function IsFolder not working with long path in windows 10
Post by: AlanJB on July 24, 2023, 15:44:31
How long is the path?  Is it in double quotes?
Title: Re: function IsFolder not working with long path in windows 10
Post by: Mathias (Author) on July 24, 2023, 16:04:04
multi-script function IsFolder https://bit.ly/3pZJ1Uy
seems not working with long path in windows 10
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
Title: Re: function IsFolder not working with long path in windows 10
Post by: hlhp on July 25, 2023, 10:37:39

append "\\?\" before the path..  Window support long path for path using UNC path..   \\?\E:\Temp  instead of E:\Temp

thank you, it works :)