in reply to How to test if a file is readable on Win64?

Hello,
you have to be sure you are not falled in such type of pit.
The  -e test is passing?
Are file that you are testing inside some system dir? or fake ones?

HtH
L*
There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.