Показать сообщение отдельно
  #2  
Старый 13.04.2008, 13:03
Ozerich Ozerich вне форума
Новичок
 
Регистрация: 11.04.2008
Адрес: В городе-герой Минск
Сообщения: 69
Репутация: 10
По умолчанию

BOOL SetFileAttributes(
filename:string
dwFileAttributes:dword;
);

dwFileAttributes

FILE_ATTRIBUTE_READONLY-A file or directory that is read-only.
For a file, applications can read the file, but cannot write to it or delete it.

For a directory, applications cannot delete it.
Ответить с цитированием