XbZ_DosAttrib2FileAttrib()
|
Previous Top Next |
XbZ_DosAttrib2FileAttrib(<cDOSAttrib>,
|
[<cFiller>]) --> cFileAttrib
|
<cDOSAttrib>
|
<cDOSAttrib> contains the U2Bin() converted string of a (DOS) File Attribute Byte Value.
|
<cFiller>
|
<cFiller> optionally contains a Filler Character that should be returned for each Not-Set File Attribute character. It defaults to an empty string ("").
|
This function returns a File Attribute string that is based on the supplied <cDOSAttrib> value, optionally padded with a <cFiller> character.
|
This function converts the U2Bin() converted string of a (DOS) File Attribute Byte Value <cDOSAttrib> to a File Attribute Text string, optionally padding it with a <cFiller> character for all missing (not set) File Attributes. This Function is the reverse of the XbZ_FileAttrib2DosAttrib() function.
|
|
NOTE: The supported File Attributes are ONLY valid for MS DOS and Windows (FAT/VFAT/NTFS)!
|
LOCAL cDosAttrib := XbZ_FileAttrib2DosAttrib('ASH')
|
LOCAL cFileAttrib := XbZ_DosAttrib2FileAttrib(cDosAttrib, '-')
|
QOut(cFileAttrib) --> '-HS--A'
|