I don't understand why, but among 8 millions of elements in an USB hard disk, i have several lines who return -1, then that the file or folder exist

When i paste the full path in windows explorer that works, i see the file/folder and SileSize() return -1

I have try with v5.73 and 6.02, and also on another machine it's the same thing
Furthermore the files and folders is read acces, it's the reason why i ask to me if there are a limit in the len of path

Code: Select all
File$ = "e:\A\A\B\A\O\Workspaces_Complets\workspacetizen du 180418\tizen-studio\tools\jsa\jalangi\node_modules\jalangi\node_modules\rewriting-proxy\node_modules\jsdom\node_modules\htmlparser2\node_modules\domutils\node_modules\dom-serializer\node_modules\domelementtype\"
Debug FileSize(File$)
Debug Len(File$)
And if i try this codeDebugger wrote:-1
261
Code: Select all
File$ = "e:\A\A\B\A\O\Workspaces_Complets\workspacetizen du 180418\tizen-studio\tools\jsa\jalangi\node_modules\jalangi\node_modules\rewriting-proxy\node_modules\jsdom\node_modules\htmlparser2\node_modules\domutils\node_modules\dom-serializer\node_modules\domelementtype\"
Debug OpenFile(0,File$)
Debug GetFileSize_(FileID(0),0)
CloseFile(0)

Someone have an idea why that not works ?
Have a good day