Edit

File_SetMark (filehandle, offset)

Result Type:  no result

Definition:  Sets the current position in the file to offset (the offset is always a byte count form the beginning of the file). Subsequent reads or writes will start at this position.

Availability:  available within MWScript handlers.

See Also:

File_Close: File functions for creating/reading/writing text files

File_GetLength: File length in bytes

File_GetMark: Get current read/write position

File_Move: Rename/move a file

File_Open: Open a file

File_Path: Get the full path of an open file

File_Read: Read text from current position

File_ReadLine: Read to end of line from current position

File_Write: Write text at current position

WriteToTempFile: Create a temp file containing the string