In Windows XP and upper, traversing directories starting from root directory 
(e.g. D:\) using FindFirst() and FindNext() will fail (ERROR_ACCESS_DENIED) 
when iteration encounters "System Volume Information" directory. I solved this 
by ignoring this error code and keep looping. However, I don't know the 
equivalent error code in Linux, FreeBSD, MacOS, etc. since I guest this 
behaviour should be there also in those OSes. Is there a universal way to 
handle this?

Thanks in advance.



      

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to