# ViewFile

## Description

Opens the given file in an the external application suitable for its file type. Typically this is a default app chosen by the user. The file should be in your read or write folder, you should provide the filename as if you were loading the file. Currently this only works on Windows, iOS, and Android.

## Definition

ViewFile( szFilename )

void agk::ViewFile( const char* szFilename )

## Parameters

- szFilename - The path to the file to open