C:\WINDOWS>HELP DATE
Displays or sets the date.
DATE
[/T | date
]Type DATE without parameters to display the current date setting and
a prompt for a new one. Press ENTER to keep the same date.
If Command Extensions are enabled the DATE command supports
the /T switch which tells the command to just output the
current date, without prompting for a new date.
EXAMPLE
C:\Documents and Settings\Nemo\Desktop>date
The current date is: Mon 12/01/2008
Enter the new date: (mm-dd-yy) 42/14/2008
The system cannot accept the date entered.
Enter the new date: (mm-dd-yy)
D:\SoftwareOK>date
Aktuelles Datum: 01.12.2008
Geben Sie das neue Datum ein: (TT-MM-JJ) 01.22.08
Eingegebenes Datum kann nicht übernommen werden.
Geben Sie das neue Datum ein: (TT-MM-JJ)
C:\WINDOWS>HELP DEL
Deletes one or more files.
DEL
[/P
] [/F
] [/S
] [/Q
] [/A
[[:
]attributes
]] names
ERASE
[/P
] [/F
] [/S
] [/Q
] [/A
[[:
]attributes
]] names
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.
/P Prompts for confirmation before deleting each file.
/F Force deleting of read-only files.
/S Delete specified files from all subdirectories.
/Q Quiet mode, do not ask if ok to delete on global wildcard
/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
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.
C:\WINDOWS>HELP DIR
Displays a list of files and subdirectories in a directory.
DIR
[drive:
][path
][filename
] [/A
[[:
]attributes
]] [/B
] [/C
] [/D
] [/L
] [/N
] [/O
[[:
]sortorder
]] [/P
] [/Q
] [/S
] [/T
[[:
]timefield
]] [/W
] [/X
] [/4
] [drive:
][path
][filename
] Specifies drive, directory, and/or files to list.
/A Displays files with specified attributes.
attributes D Directories R Read-only files
H Hidden files A Files ready for archiving
S System files - Prefix meaning not
/B Uses bare format (no heading information or summary).
/C Display the thousand separator in file sizes. This is the
default. Use /-C to disable display of separator.
/D Same as wide but files are list sorted by column.
/L Uses lowercase.
/N New long list format where filenames are on the far right.
/O List by files in sorted order.
sortorder N By name (alphabetic) S By size (smallest first)
E By extension (alphabetic) D By date/time (oldest first)
G Group directories first - Prefix to reverse order
/P Pauses after each screenful of information.
/Q Display the owner of the file.
/S Displays files in specified directory and all subdirectories.
/T Controls which time field displayed or used for sorting
timefield C Creation
A Last Access
W Last Written
/W Uses wide list format.
/X This displays the short names generated for non-8dot3 file
names. The format is that of /N with the short name inserted
before the long name. If no short name is present, blanks are
displayed in its place.
/4 Displays four-digit years
Switches may be preset in the DIRCMD environment variable. Override
preset switches by prefixing any switch with - (hyphen)--for example, /-W.