Share via


ERASE, DEL (Windows Embedded CE 6.0)

1/6/2010

This command deletes one or more files.

ERASE [/P] [/F] [/S] [/Q] [[path]file_name
DEL [/P] [/F] [/S] [/Q]  [[path]file_name

Parameters

  • /P
    Prompts for confirmation before deleting each file.
  • /F
    Forces the command processor to delete read-only files.
  • /S
    Deletes specified files from all subdirectories.
  • /Q
    Specifies a quiet mode. The command processor does not ask before deleting each file if you specify a global wildcard.
  • path
    Specifies the path of the directory that contains the file that you want to delete.
  • file_name
    Specifies the name of the file that you want to delete.

Remarks

You can specify multiple files by using wildcards.

See Also

Reference

Command Processor Commands

Concepts

Command Processor Shell