Tips & 

Windows 95 

Tricks

New XCOPY Switches
 

There are quite a few new switches to the XCOPY command. To get a full listing, type XCOPY /?. Below are some of the additions over DOS 6.X.

* /C - Continues copying even if errors occur
* /I - If destination does not exist and copying more than one file,
         assumes that destination must be a directory
* /Q - Does not display file names while copying
* /F - Displays full source and destination file names while copying
* /L - Displays files that would be copied
* /H -Copies hidden and system files also
* /R - Overwrites read-only files
* /T - Creates directory structure, but does not copy files. Does not
          include empty directories or subdirectories. /T /E includes empty
          directories and subdirectories
* /U - Updates the files that already exist in destination
* /K - Copies attributes. Normal Xcopy will reset read-only attributes
* /Y - Overwrites existing files without prompting
* /-Y - Prompts you before overwriting existing files
* /N - Copy using the generated short names

List