>I want to check if I can write in a NTFS folder or not using VC++.
Perhaps the simplest method is to try creating a new (temporary) file
in the folder and see if it succeeds. If you use CreateFile with
FILE_FLAG_DELETE_ON_CLOSE the file is deleted even if you don't have
delete permissions for the folder - so the solution is clean. If you
want to test this scenario without writing code, try my free
CreateFile test app available from
www.jddesign.co.uk
Dave
--
MVP VC++ FAQ:
http://www.mvps.org/vcfaq