Cannot read file
Closed this issue · 2 comments
GeTechG commented
Code
for file in lfs_ffi.dir[[C:\Games\Grand Theft Auto San Andreas\moonloader\Language]] do
print(file,lfs_ffi.attributes(file,"mode"))
end
Output
. directory
.. directory
English.ini nil cannot obtain information from file 'English.ini' : No such file or directory 2
sonoro1234 commented
for file in lfs_ffi.dir[[C:\Games\Grand Theft Auto San Andreas\moonloader\Language]] do
print(file,lfs_ffi.attributes([[C:\Games\Grand Theft Auto San Andreas\moonloader\Language\]]..file,"mode"))
end
GeTechG commented
Thanks!