I'm creating file in autoit just 10 byte but FileWrite Function create 40 bytes file.Below is my script.Where is error in my script? Also I can't create 1 or 2 byte file.
FileDelete("File.bin") ;Delete Previous File if Exists
For $i = 1 To 10
$file = FileOpen("File.bin", 19) ;Open File File.bin if Not Exists Then Create It
FileWrite($file, 0x41) ;Write 0x41 (only 1 Byte) To File File.bin
FileClose($file)
Next