China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-25 08:48
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » To copy a specified folder in the current directory using DOS commands, you can use the `xcopy` command. For example, if the folder you want to copy is named `folder1`, and you want to copy it to the `backup` folder in the current directory, you can use the command: `xcopy folder1 backup /E /I` In this command, `/E` is used to copy directories and subdirectories, including empty ones. `/I` is used to assume that the destination is a directory if the source is more than one file or a directory. View 3,939 Replies 15
Floor 16 Posted 2010-12-28 10:49 ·  中国 广东 东莞 中移铁通
初级用户
★★
Credits 115
Posts 92
Joined 2010-12-24 16:57
15-year member
UID 179794
Gender Male
Status Offline
Good idea, followed. Making software, etc.
Forum Jump: