![]() |
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-19 16:08 |
47,814 topics / 349,908 posts / today 0 new / 48,259 members |
| DOS疑难解答 & 问题讨论 (解答室) » Small problem with copying folders |
| Printable Version 876 / 1 |
| Floor1 naughtypack | Posted 2008-11-19 22:22 |
| 初级用户 Posts 25 Credits 68 | |
|
xcopy file1 file2 /s
It keeps asking whether file2 is a filename or a directory. After entering f, it asks again whether to overwrite yes/no/all. I just want to copy the entire folder and give it another name. What's a simpler way to write it? There are a lot of files, and I don't want it to keep asking. Thanks. |
|
| Floor2 Climbing | Posted 2008-11-20 08:54 |
| 铂金会员 Posts 2,753 Credits 6,962 From 河北保定 | |
|
xcopy dir1 dir2 /s /y /i
This is xcopy in the cmd environment. I don't know whether pure DOS has the /i parameter. |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |