Johannes,
Johannes Kilian wrote:
Hi there,
I want to determine, what's the reason of "File does not exist" response, using the -e operator (if (!(-e $filename)) {...}
The reason might be (for example): * file is really not available * the user does not have sufficient rights to access the file ("Access denied")...
How do I get more info about failing -e operator (especially "Access denied") on Win32 systems?
If you get an "File does not exist", you don't have permission to access it. Sometimes I can see files in Windows Explorer, but when I double click them I get the error message "File does not exist". When I check the permissions as Administrator, I can see that I do not have permission to access (read/write/etc) the files, but I have the right to list the directory, that's why I see the files.
If that is what you faced, there is AFAIK no way to enumerate the file access rights other than w/ Administrator priviledges...
Greetings
Johannes
Hth
Alex _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs