Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: COPY COMMAND in DOS  (Read 2738 times)

0 Members and 1 Guest are viewing this topic.

ZealEmpire

  • Guest
COPY COMMAND in DOS
« on: October 09, 2005, 01:54:21 PM »
Hi guys during my windows xp setup I recieved an error which stated "Setup cannot access the CD containing Windows XP installation files.  Then it goes on to say copy windows xp installation files to your harddrive.  I forgot what the command in DOS was to do this does anyone know?

GX1_Man

  • Guest
Re: COPY COMMAND in DOS
« Reply #1 on: October 09, 2005, 04:14:41 PM »
If your CD cannot be read, then you have to solve this issue first before any thing else matters.
Can you see the CD drive? Can you do a dir command and see the files?

::) ::) ::) ::) ::)

pcdoc4christ

  • Guest
Re: COPY COMMAND in DOS
« Reply #2 on: October 09, 2005, 05:19:14 PM »
Zeal:

For any command in DOS or the Windows XP command line, just type the command and /? and press Enter to see all the correct parameters.  Example:

C:\>copy /?
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).

======================================

XCOPY will copy more than one file at a time, but it is not available from the Windows XP Recovery Console (go figure).  If you have a previous operating system that you are trying to update to Windows XP, XCOPY is the command to use to copy the entire i386 folder from the CD to your hard drive.


Blessings to you,
Doc
« Last Edit: October 09, 2005, 05:23:37 PM by pcdoc4christ »

pcdoc4christ

  • Guest
Re: COPY COMMAND in DOS
« Reply #3 on: October 09, 2005, 05:20:28 PM »
BTW: To see all the commands available, just type HELP and press Enter.

:)
Doc