# OpenRawFolder

## Description

Opens a folder any where on the file system and reads the list of files and folders it contains. This is done immediately so any changes that occur to the folder after this command will not be noticed, you would need to call this command again to get the updated contents. The file path must be absolute for the current device, i.e. it must begin with a drive letter and colon on Windows, and a forward slash on all other platforms. The path must exist and be accessible to the current app or this command will generate an error. The path may begin with the text "raw:" or not, both forms are accepted. This command will return an ID that you can use to access the file list that was found, it will remain accessible until you close it with CloseRawFolder. Multiple folders can be open at the same time, they will each be given a different ID.

## Definition

integer OpenRawFolder( szPath )

UINT agk::OpenRawFolder( const char *szPath )

## Parameters

- szPath - The path to the folder to open