中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 18:31
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » Old problem, urgent help needed
Printable Version  1,158 / 2
Floor1 crazydale Posted 2003-06-19 00:00
初级用户 Posts 1 Credits 103
Use xcopy?
I remember it seems to be an external command.
First you need path, then you also have to command
Not sure whether that's right, hoping an expert can advise
By the way
The system is broken, and the stuff in My Documents is very important
Can I directly reinstall the system onto another drive
Or copy the stuff out from inside and back it up
Please advise
Floor2 如是大师 Posted 2003-06-19 00:00
元老会员 Posts 3,351 Credits 9,654 From 湖北
Use xcopy like this? I don't know
Floor3 waterz Posted 2003-06-19 00:00
高级用户 Posts 135 Credits 546
XCOPY in WinXP is like this. Some parameters in lower versions may not be supported, try them yourself:

C:\>help xcopy
Copies files and directory trees.

XCOPY source ] ]


...]

source Specifies the file(s) to copy.
destination Specifies the location and/or name of new files.
/A Copies only files with the archive attribute set,
but does not change the attribute.
/M Copies only files with the archive attribute set,
and turns off the archive attribute.
/D:m-d-y Copies files changed on or after the specified date.
If no date is given, copies only those source files
whose source time is newer than the destination time.
/EXCLUDE:file1...
Specifies a list of files containing strings. If any
string matches part of the absolute path
of the file to be copied,
that file will not be copied.
For example, specifying strings like \obj\ or .obj will exclude
all files under the directory obj or files with
the .obj extension.
/P Prompts before creating each destination file.
/S Copies directories and subdirectories, except empty ones.
/E Copies directories and subdirectories, including empty ones.
Same as /S /E. Can be used to modify /T.
/V Verifies each new file.
/W Prompts you to press a key before copying.
/C Continues copying even if errors occur.
/I If the destination does not exist, and more than one file
is being copied, assumes the 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 to be copied.
/G Allows copying unencrypted files to
destinations that do not support encryption.
/H Also copies hidden and system files.
/R Overwrites read-only files.
/T Creates the directory structure, but does not copy files. Does not
include empty directories or subdirectories. /T /E includes
empty directories and subdirectories.
/U Copies only files that already exist in the destination.
/K Copies attributes. Normal Xcopy will reset read-only attributes.
/N Copies using the generated short names.
/O Copies file ownership and ACL information.
/X Copies file audit settings (implies /O).
/Y Suppresses prompting to confirm overwriting
an existing destination file.
/-Y Causes prompting to confirm overwriting
an existing destination file.
/Z Copies network files in restartable mode.

The command-line switch /Y can be preset in the COPYCMD environment variable.
This may be overridden by /-Y on the command line.


[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023