J
Joerg Battermann
Hello there,
I was wondering how I can check whether I am allowed to read a certain file
or not? Some of e.g. XP's files are not readable, not even by the Administrator,
and when trying to open a file for reading, it throws an exception (e.g.:
{"The process cannot access the file \"C:\\Documents and Settings\\Joerg\\Local
Settings\\Application Data\\Lookout Software\\Lookout\\Data.Outlook\\Log
Files\\log.txt\" because it is being used by another process." })
How can I check whether I am allowed to read/open files?
Best regards / MfG,
--
Joerg Battermann
(e-mail address removed)
http://www.justBE.com - blog: http://blog.justBE.com
PGP-KeyID: 0x77007DA6
PGP-Fingerprint: 0461 F2EC 53EB CEBE 6B73 8EEC 64AD 0606 7700 7DA6
I was wondering how I can check whether I am allowed to read a certain file
or not? Some of e.g. XP's files are not readable, not even by the Administrator,
and when trying to open a file for reading, it throws an exception (e.g.:
{"The process cannot access the file \"C:\\Documents and Settings\\Joerg\\Local
Settings\\Application Data\\Lookout Software\\Lookout\\Data.Outlook\\Log
Files\\log.txt\" because it is being used by another process." })
How can I check whether I am allowed to read/open files?
Best regards / MfG,
--
Joerg Battermann
(e-mail address removed)
http://www.justBE.com - blog: http://blog.justBE.com
PGP-KeyID: 0x77007DA6
PGP-Fingerprint: 0461 F2EC 53EB CEBE 6B73 8EEC 64AD 0606 7700 7DA6