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-08-13 23:47
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » Can you copy multiple files at once if they aren't in the same directory? View 560 Replies 4
Original Poster Posted 2003-08-13 00:00 ·  中国 浙江 杭州 余杭区 电信
中级用户
★★
Credits 411
Posts 78
Joined 2003-07-27 00:00
23-year member
UID 7622
Gender Male
Status Offline
As the title says
Floor 2 Posted 2003-08-13 00:00 ·  中国 广东 珠海 电信
初级用户
大米粥
Credits 135
Posts 8
Joined 2003-07-10 00:00
23-year member
UID 6730
Gender Male
Status Offline
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!
Sharing Makes Knowledge Increase!
Floor 3 Posted 2003-08-13 00:00 ·  中国 福建 福州 电信
元老会员
★★★
农民
Credits 2,903
Posts 991
Joined 2003-07-23 00:00
23-year member
UID 7391
Gender Male
From 福建省
Status Offline
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.
艰难奋长戟,万古用一夫

中国DOS联盟 http://www.cn-dos.net 欢迎大家来共同学习
我的MSN&E-Mail cn_archer@hotmail.com QQ 56049418
Floor 4 Posted 2003-08-13 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
The following is quoted from cn_archer at 2003-8-13 22:11:22:
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.


The COPY command can't do it, but GNUish DOS command CP can, for example:

CP C:\*.EXE C:\*.COM .
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 5 Posted 2004-08-03 00:00 ·  中国 上海 宝山区 电信
初级用户
★★
Credits 217
Posts 55
Joined 2004-08-02 00:00
22-year member
UID 29516
Gender Female
Status Offline
Use the FOR command; it can execute one command repeatedly~!
Forum Jump: