/
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
Name | Type | Required | Comments |
---|---|---|---|
filePath | string | yes | Full 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";
, multiple selections available,
Related content
delete
More like this
deleteListViewItem
deleteListViewItem
More like this
getFileLocation
getFileLocation
More like this
removeNamespace
removeNamespace
More like this
fileChooser
fileChooser
More like this
fileClose
fileClose
More like this