|
| |
|
K
E
Y |
Common Commands |
INTERNAL |
External |
/SWITCH |
Parameter |
Help text |
AddonTool |
|
Mounted Commands |
.Mount/\Command |
CmdShorthand |
#Constant |
$FUNCTION |
:Procedure |
!GuardNote |
|
Operating Systems |
NT/2K/XP/K3 |
NT Only |
NT/2K |
2K Only |
2K/XP |
XP Only |
XP/K3 |
K3 Only |
2K/XP/K3 |
Related Resources from the NT/2K/XP/K3 Command Library
|
Resource |
|
Short Description |
|
.DeleteMe |
|
Deletes the currently running script. |
Go straight to !GuardNotes. (updated
2004-07-13)
This is the Mounted Help Text. We also archive the Common Help Text
for NT,
2K, XP
and K3
Description
Deletes one or more files.
Syntax
DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]]
[[drive:][path]filename
ERASE [/P] [/F] [/S] [/Q] [/A[[:]attributes]]
[[drive:][path]filename
DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]]
names
ERASE [/P] [/F] [/S] [/Q] [/A[[:]attributes]]
names
Parameters and Switches
|
filename |
|
Specifies the file(s)
to delete. Specify multiple files by using wildcards. |
|
names |
|
Specifies a list of
one or more files or directories. Wildcards may be used to delete multiple files. If a directory is specified, all files within the directory will be deleted. |
|
/A |
|
Selects files to delete based on
attributes |
|
attributes |
|
R
Read-only files
S System files
H Hidden files
A Files ready for archiving
- Prefix meaning not |
|
/F |
|
Force deleting of read-only files. |
|
/P |
|
Prompts for confirmation before deleting
each file. |
|
/Q |
|
Quiet mode, do not ask if ok to delete
on global wildcard |
|
/S |
|
Delete specified files from all
subdirectories. |
Examples, Notes and Instructions
If Command Extensions are enabled DEL and ERASE
change as follows:
The display semantics of the /S switch are reversed in that it shows you only the files that are deleted, not the ones it could not find.
GuardNotes
Things that are different (by design, by accident or otherwise)
None documented (yet).
|