| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Sets the default file attribute(s) for creating files.
SetFcreate( [<nNewAttribute>] ) --> nOldAttribute
Values for file attributes
| Value | Attribute |
|---|---|
| 0 | Normal |
| 1 | Read only |
| 2 | Hidden |
| 4 | System |
| 8 | Volume |
| 32 | Archived |
The function returns the default file attribute(s) current before the function is called.
This function exists for compatibility reasons only. A default file attribute can be queried and/or set with SetFCreate(). However, no file function uses this file attribute as a default value.
| See also: | FileAppend(), FileCCont(), FileCopy(), ScreenFile(), StrFile() |
| Category: | CT:DiskUtil , File functions , Low level file functions |
| Source: | ct\strfile.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com