i need to set a custom file to "write protected" mode.
How can i do this without using right mouse click on this file ?

Posted on 2001-12-17 04:30:10 by Max
SetFileAttributes with FILE_ATTRIBUTE_READONLY. You'll probably
want to GetFileAttributes first and OR the reaodnly attribute to the
existing filemask.
Posted on 2001-12-17 04:41:25 by f0dder
Much Thanks !

thats the word im searching for "SetFileAttributes"
so thats why i dont find any information in google by using +"set write protection" +"asm"

hip hip hurra the finish of my security tool is quite near :-)
Posted on 2001-12-17 04:51:45 by Max