I would like to write a file inside a "d:\test\" unfortunately I don't have a write permission for that folder. How to check whether that folder have a write permission or not.
NOTE: fopen is helpful,But that's creates a new file. I don't want to create exra file.
I am also seen CreateFile(), don't know how to use that for this case.