如何在DOS状态下,把电脑桌面上的所有文件复制拷贝到另外一个文件夹中?

来源:百度知道 编辑:UC知道 时间:2024/05/22 03:33:25
系统崩溃了,准备重新安装系统

在重新安装系统之前,想把原来系统里面电脑桌面的资料还有浏览器中收藏夹的资料复制拷贝到另一个文件夹中

用什么命令语句操作?

Copies one or more files to another location.

COPY [/A | /B] source [/A | /B] [+ source [/A | /B] [+ ...]] [destination] [/A | /B]] [/V] [/Y | /-Y]

source Specifies the file or files to be copied.
/A Indicates an ASCII text file.
/B Indicates a binary file.
destination Specifies the directory and/or filename for the new file(s).
/V Verifies that new files are written correctly.
/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.

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

To append files, specify a single file for destination, but multiple files for source (using wildcards or file1+file2+file3 format).

Examples
The below example would copy all files in the current directory to the floppy disk in d