# DeleteFolder

## Description

Deletes a folder at the current path. By default this is determined by the command SetFolder. You can also use a filename beginning with "raw:" to delete a folder anywhere on the file system, for example DeleteFolder("raw:C:\Temp\MyFolder"). The folder must be empty for this command to succeed.

## Definition

DeleteFolder( szName )

void agk::DeleteFolder( const char* szName )

## Parameters

- szName - The name of the folder create.