/
deleteFile

deleteFile

Deletes a file from the file system.

Paths must use forward slashes instead of back-slashes.

If the file cannot be deleted for some reason, the command fails. Note that the file is not moved to the recycle bin, but is permanently deleted.

Functional area

System

Command syntax

Syntax

deleteFile "filePath"

Arguments

NameTypeRequiredComments
filePathstringyesFull path to the file you want to delete. Be sure to use forward slashes.

Flags

None

Return value

void

Examples

// Delete a c3d file from the disk
deleteFile "D:/SomeProduct/CaptureDay1/Session1/00001.c3d";