File.Contents

About

Returns the binary contents of the file located at a path.

Syntax

File.Contents(path as text) as binary  

Arguments

Argument Description
path The path to the file to retrieve contents for.

Example

File.Contents("c:\users\myuser\Desktop\file.txt")