Código: Seleccionar todo
#cs -------------------------------------------------------
AutoIt Version: 3.3.8.1
Author..........: Pink
Script Function...: AddBytes.
Uso..............: AddBytes($file,Numero de bytes)
#ce -------------------------------------------------------
Func AddBytes( $file,$bytes)
local $buffer
for $i = 1 to $bytes
$buffer=$buffer & chr(0)
next
$hFile = FileOpen($file, 17)
FileWrite($hFile, $buffer)
FileClose($hFile)
EndFunc
Saludos