I found this post by normeus which fixes the issue -> https://www.purebasic.fr/english/viewto ... 79#p423879
Using his tip, I'm now using the following macro hack to "fix" FileCopy() in my sources. But can FileCopy() be fixed to do this instead? Thanks!
Code: Select all
Macro FileCopy(source,dest)
FileCopy("\\?\"+source,"\\?\"+dest)
EndMacro
Code: Select all
; Don't run this as-is because it will delete data on your PC!
; Debug DeleteDirectory(path_over_260_chars$,"",#PB_FileSystem_Recursive|#PB_FileSystem_Force) ; Returns 0