EasyManua.ls Logo

Commodore PC 40 - Page 235

Commodore PC 40
494 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Xcopy
Purpose:
Copies files and directories, including lower level directories,
if
they
exist.
Syntax:
xcopy
[drive: )[path Vilename[ drive:) [path )[filename) [/a)
[/d:date) [Ie)
[1m)
[/p) [Is) [Iv) [lw)
Comments:
The
first drive:,
path,
and
filename
parameters specify
the
source
file
or
directory
that you
want
to
copy. The
second
drive:,
path,
and
filename
parameters specify
the
target. You
must
include at
least
one
of
the
source parameters. If you
omit
the
target parame-
ters,
xcopy
assumes you
want
to
copy
the
files
to
the
default
directory.
If
you
do
not
specify the
path
option,
xcopy
uses
the
default
directory
with
the default filename, •.•.
The
I~
switch copies
source
files that have
their
archive bit set.
The
switch
does
not modify
the
archive bit
of
the
source
file. See
the
attrib
command
for information
on
how
to
set
the
archive
attribute.
The
Id
switch copies
source
files that you modified
on
or
after
the
date
specified by date. Note that
the
date
format may vary
depending
on
the country
code
that you are using. See
the
date
command
for
more
information.
The
Ie
switch
copies any subdirectories, even if they
are
empty.
You
must
use this switch
with
the
Is switch.
The
1m
switch is similar
to
the
la
switch in that it copies archived
files only; however, it turns off
the
archive bit in
the
source
file.
See
the
attrib
command
for information
on
how
to
set
the
archive
attribute.
The
Ip
switch
prompts you
with
"(YIN?)"
to
let
you
confirm
whether
you want to
create
each
target file.
The
Is switch copies directories and lower level subdirectories,
unless they are empty.
If
you
omit
this switch,
xcopy
works
within
a single directory.
The
Iv
switch causes
xcopy
to
verify
each
file as it is
written
to
the
target
to
make sure that the target files
are
identical
to
the
source
files.
MS-DOS Commands
971
Xcopy
The Xcopy switches

Table of Contents

Related product manuals