read only folder on Windows
In my application I need to create a folder and make it read only to test whether my application could work with read only media.
I have tried to set the property of a folder to read only (right click the mouse and make Read Only property enabled), but I find I still can create file into this folder.
How to make a folder truly read only on Windows (e.g. can not create file into the folder)?
Both programming ways and non-programming ways are appreciated. I am using Windows XP SP2.
thanks in advance,