![]() |
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-13 23:02 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS学习入门 & 精彩文章 (教学室) » Can you copy multiple files at once if they aren't in the same directory? |
| Printable Version 558 / 4 |
| Floor1 hotdog | Posted 2003-08-13 00:00 |
| 中级用户 Posts 78 Credits 411 | |
|
As the title says
|
|
| Floor2 luckyboy | Posted 2003-08-13 00:00 |
| 初级用户 Posts 8 Credits 135 | |
|
It seems DOS's COPY command can't do that. But rather than typing so many paths in one COPY command, it's actually more convenient to COPY them one path at a time!
|
|
| Floor3 cn_archer | Posted 2003-08-13 00:00 |
| 元老会员 Posts 991 Credits 2,903 From 福建省 | |
|
COPY under DOS isn't that powerful.
In fact, even within one directory it can't copy multiple types of files, unless you copy all files over. |
|
| Floor4 Wengier | Posted 2003-08-13 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
The following is quoted from cn_archer at 2003-8-13 22:11:22: The COPY command can't do it, but GNUish DOS command CP can, for example: CP C:\*.EXE C:\*.COM . |
|
| Floor5 duxuelj520 | Posted 2004-08-03 00:00 |
| 初级用户 Posts 55 Credits 217 | |
|
Use the FOR command; it can execute one command repeatedly~!
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |