delete (Windows CE 5.0)
This command deletes a file or directory tree.
delete [filesys path]
- filesys path
Specifies the full path of the file or directory to be deleted. If a directory is specified, all files and subdirectories inside the directory are deleted along with the directory itself.
This command will not report a failure if the file or directory to be delete does not currently exist.
Once the file or directory is deleted, if the directory that contained the file or directory is now empty, it is deleted automatically. This applies recursively up the directory hierarchy.
Example
The following code example deletes a file called myfile.txt:
delete \volume\myfile.txt
Send Feedback on this topic to the authors