Reference/FileWriteByte
From NSIS Wiki
Jump to navigationJump to search
FileWriteByte
handle string
Writes the integer interpretation of 'string' to a file opened with FileOpen. Of course you can enter the integer value directly. The following code writes a "Carriage Return / Line Feed" - Enter to the file.
FileWriteByte file_handle "13" FileWriteByte file_handle "10"
If an error occurs while writing, the error flag will be set. Note that the low byte of the integer is used, i.e. writing 256 is the same as writing 0, etc.
Command introduced with NSIS v1.80