Group: File Management - Library: kernel32
BOOL SetFileAttributes(
LPCTSTR lpFileName, // file name
DWORD dwFileAttributes // attributes
);
DECLARE SHORT SetFileAttributes IN kernel32;
STRING lpFileName,;
INTEGER dwFileAttributes
lpFileName [in] Pointer to a string that specifies the name of the file whose attributes are to be set.
dwFileAttributes [in] Specifies the file attributes to set for the file.
If the function succeeds, the return value is nonzero.
DOS command ATTRIB can be used for the same purpose:
ATTRIB -R c:\mydir\*.* /S