ColorConsole [Version 1.3.3000]
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

Copies one or more files to another location.

COPY [/D] [/V] [/N] [/Y | /-Y] [/Z] [/A | /B ] source [/A | /B]
    [+ source [/A | /B] [+ ...]] [destination [/A | /B]]

 source       Specifies the file or files to be copied.
 /A           Indicates an ASCII text file.
 /B           Indicates a binary file.
 /D           Allow the destination file to be created decrypted
 destination  Specifies the directory and/or filename for the new file(s).
 /V           Verifies that new files are written correctly.
 /N           Uses short filename, if available, when copying a file with a
              non-8dot3 name.
 /Y           Suppresses prompting to confirm you want to overwrite an
              existing destination file.
 /-Y          Causes prompting to confirm you want to overwrite an
              existing destination file.
 /Z           Copies networked files in restartable mode.

The switch /Y may be preset in the COPYCMD environment variable.
This may be overridden with /-Y on the command line.  Default is
to prompt on overwrites unless COPY command is being executed from
within a batch script.

To append files, specify a single file for destination, but multiple files
for source (using wildcards or file1+file2+file3 format).


(txt1.txt + txt2.txt) = txt_1_and_2.txt

copy /a txt1.txt + txt2.txt txt_1_and_2.txt

(bitmap1.jpg + bitmap2.jpg) = bitmap1_and_2.jpg

copy /b bitmap1.jpg + bitmap2.jpg bitmap_1_and_2.jpg

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.

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.


... Home  
... Impressum
... ColorConsole

... CMD
... Netsh-XP
... Netsh-7
... Netsh-Vista
... Powershell
... FAQ
HTTP: ... console/en/018.htm


How to turn on or off the Windows Defender in Win 8 / 10 (virus protect)?


How to view and use the fonts without installing the windows font file?


Windows-10 and double tap time for touch screen, how to customize?


Is desktop icons hiding not a joke program, who needs that?


How can i synchronize directories in Q-Dir whit xcopy.exe?


How to create admin CMD on the Windows 8.1 and 10 desktop?


Where can I find the Windows on-screen keyboard?


How to remove read-only or hidden file attribute vial cmd?