FDELETE monitor command FDELETE monitor command Syntax FDELETE file_spec Function Delete one or more disk files matching the given file specification. Usage Considerations If a file is deleted, the information in it cannot be recovered. Thus, be very careful when typing the file specification. eV+ asks for confirmation before performing the delete operation (there is one confirmation prompt for the entire command, not one per file to be deleted). Responding with "N" (or just pressing the Enter key, " ↵ ") cancels the FDELETE command. This command can be used to delete subdirectory files. Those files can be deleted also with the FDIRECTORY command.
Subdirectories cannot be deleted if they contain any files, or if they are being accessed (for example, after an FOPEND instruction). Parameter file_spec File specification for the file(s) to be deleted. This may contain an optional physical device, an optional disk unit, and an optional directory path. A file name and a file extension must be specified. The file name or extension may contain "wildcard" matching characters (see below). The current default disk unit and directory path are considered as appropriate (see the DEFAULT command). If the file specification does not include a period and a file extension, a blank name extension is assumed.
Details Wildcard characters (asterisks, "*") can be used in file names and extensions. A wildcard character within a name or extension indicates that any character should be accepted in that position. A wildcard character at the end of a name or extension indicates that any trailing characters are acceptable. All files that match a wildcard specification will be deleted. When using the wildcard feature, it is a good idea to issue an FDIRECTORY command with the same file specification first. After eV+Operating System Reference Guide, 2.x,18321-000 Rev A Page 92