home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 July / CMCD0704.ISO / Software / Complet / FreeDOS / fdbootcd.iso / FREEDOS / PACKAGES / BASE / DISK06 / XCOPYX.ZIP / HELP / xcopy.en
Text File  |  2003-02-06  |  4KB  |  94 lines

  1. FreeDOS XCOPY command version 1.1
  2. ---------------------------------
  3. Copies files and directory trees.
  4.  
  5. XCOPY source [destination] [/switches]
  6.  
  7.   source       Specifies the directory and/or name of file(s) to copy.
  8.   destination  Specifies the location and/or name of new file(s).
  9.   /A           Copies only files with the archive attribute set and doesn't
  10.                change the attribute.
  11.   /C           Continues copying even if errors occur.
  12.   /D[:M/D/Y]   Copies only files which have been changed on or after the
  13.                specified date. When no date is specified, only files which are
  14.                newer than existing destination files will be copied.
  15.   /E           Copies any subdirectories, even if empty.
  16.   /F           Display full source and destination name.
  17.   /H           Copies hidden and system files as well as unprotected files.
  18.   /I           If destination does not exist and copying more than one file,
  19.                assume destination is a directory.
  20.   /L           List files without copying them. (simulates copying)
  21.   /M           Copies only files with the archive attribute set and turns off
  22.                the archive attribute of the source files after copying them.
  23.   /N           Suppresses prompting to confirm you want to overwrite an
  24.                existing destination file and skips these files.
  25.   /P           Prompts for confirmation before creating each destination file.
  26.   /Q           Quiet mode, don't show copied filenames.
  27.   /R           Overwrite read-only files as well as unprotected files.
  28.   /S           Copies directories and subdirectories except empty ones.
  29.   /T           Creates directory tree without copying files. Empty directories
  30.                will not be copied. To copy them add switch /E.
  31.   /V           Verifies each new file.
  32.   /W           Waits for a keypress before beginning.
  33.   /Y           Suppresses prompting to confirm you want to overwrite an
  34.                existing destination file and overwrites these files.
  35.   /-Y          Causes prompting to confirm you want to overwrite an existing
  36.                destination file.
  37.  
  38. The switch /Y or /N may be preset in the COPYCMD environment variable.
  39. This may be overridden with /-Y on the command line.
  40.  
  41.  
  42. Exit codes
  43. ----------
  44.  0   No error
  45.      XCOPY successfully copied the files.
  46.  1   File not found
  47.      XCOPY could not find the source file(s).
  48.  4   Path not found
  49.      XCOPY could not find the source or destination path.
  50.      Format invalid
  51.      The user used the wrong syntax on the command line.
  52.  5   Access denied
  53.      The user does not have access to the source or destination files.
  54.  8   Insufficient memory
  55.      There is insufficient system memory to carry out the command.
  56.      (Not implemented because not possible to handle in a high level
  57.      language like C!)
  58. 29   Write fault
  59.      XCOPY could not write a destination file or directory.
  60. 30   Read fault
  61.      XCOPY could not read a source file.
  62. 39   Insufficient disk space
  63.      There is insufficient disk space in the destination path.
  64.  
  65.  
  66. Compiling the source code
  67. -------------------------
  68. Compiling the source code is possible with the following compilers:
  69. - Borland C++ (tm) 3.0 or higher
  70. - Borland Turbo C++ (tm) 3.0 or higher
  71.  
  72.  
  73. Contacting the author
  74. ---------------------
  75. e-mail address: rene.ableidinger@gmx.at
  76.  
  77.  
  78. Copyright
  79. ---------
  80. (C)opyright 2001 by Rene Ableidinger
  81.  
  82. This program is free software; you can redistribute it and/or modify it
  83. under the terms of the GNU General Public License version 2 as
  84. published by the Free Software Foundation.
  85.  
  86. This program is distributed in the hope that it will be useful, but
  87. WITHOUT ANY WARRANTY; without even the implied warranty of
  88. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  89. General Public License for more details.
  90.  
  91. You should have received a copy of the GNU General Public License along
  92. with this program; if not, write to the Free Software Foundation, Inc.,
  93. 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  94.