﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
135	FileWrite, FileWriteLine extended to set write mode and pointer position	flyingboz@…	Valik	"'''Suggested Syntax:'''
FileWrite($filehandle,$line,[$pointer_position],{$insert_or_overwrite])

'''Suggested Behavior'''
case $pointer_position >=0 AND < FileSize
  insert or overwrite file contents with $line beginning at $pointer_position
case $pointer_position > filesize 
     move pointer to EOF 
     (alternatively, we could pad filesize with NUL or space), then begin writing, like the unix 'touch' function.
case $pointer_position omitted or <0
  current behavior, move pointer to EOF, append $line

'''Benefits'''
Standardized methodology of inserting data into existing files at an arbitrary location.
Performance and reliability improvements dealing with large files, or files that are used by more than one process.
Provides functionality not directly present in windows api, not doable with a one line UDF / DllCall.
New parameters optional, doesn't break existing scripts."	Feature Request	closed	3.3.1.0	AutoIt		None	Completed	"FileWrite FileWriteLine Insert Overwrite Prepend ""File Pointer"" Position"	
