cristianbuse / VBA-FileTools

Useful methods for interacting with the file system
MIT License
83 stars 24 forks source link

Local/Remote Path Conversion Bug #32

Open YDEdi opened 2 days ago

YDEdi commented 2 days ago

tests : GetLocalPath("https://cloud") -> "C:\synccloud" - ok GetLocalPath("c:\test") -> "C:\test" (why?) - ok GetLocalPath("\machine\path") -> Empty - KO ?

cristianbuse commented 2 days ago

@YDEdi Not sure what GetLocalPath("\machine\path") means. Can you please provide an example?

YDEdi commented 2 days ago

if we work on a samba path "\\machine\path", the path must be recognized by the GetLocalPath function

cristianbuse commented 2 days ago

as far as I know this already works when you are using mapped network drives. For example, GetLocalPath("\\emea.cbre.net\a\b\c") correctly returns X:\ for me.