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-07-22 22:15
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » Hope xcopy can be added (with long filename support) View 5,424 Replies 18
Original Poster Posted 2003-11-25 00:00 ·  中国 福建 福州 移动
初级用户
Credits 106
Posts 1
Joined 2003-11-25 00:00
22-year member
UID 13304
Gender Male
Status Offline
DOS 7.1 has no xcopy command. I borrowed the one from Win98SE, but it doesn't support long filenames.
Floor 2 Posted 2003-11-25 00:00 ·  加拿大 安大略省 多伦多
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
You only mean that the DOS boot disk doesn't include the XCOPY command, right? Just use Volkov Commander or something similar instead.
Wengier - 新DOS时代

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

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

Floor 3 Posted 2005-04-17 00:00 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
After finishing my all-in-one game boot disk, I need to use XCOPY with long filenames, but it doesn't support them! How can I solve this? Is there any copy command software under DOS that can support long filenames (for batch file use)? Urgently waiting....
Floor 4 Posted 2005-04-17 00:00 ·  美国
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
The XCOPY command that comes with MS-DOS does not support long filenames. If you want to do long filename copying from the DOS command line, you can try the CP command in GNU Tools. It can do it, but note that since this command is GNUish, some of its usage differs from ordinary DOS commands, such as being case-sensitive, and using - instead of / for parameters, etc. (for example, cp's -r is equivalent to xcopy's /s). For example:
cp -irv VeryLongFileName*.rmvb d:\
You can also try the XCOPY in ROM-DOS 7.10 or the XCOPY command below. Unlike the CP command above, they use the normal DOS syntax format, and they also support copying long filenames, but remember that they both have some BUGs, so be a bit careful when using them:
http://www.winternals.com/support/kbfiles/xcopy16.zip
Wengier - 新DOS时代

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

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

Floor 5 Posted 2005-04-21 00:00 ·  中国 上海 金山区 电信
银牌会员
★★★
Credits 1,231
Posts 498
Joined 2002-12-03 00:00
23-year member
UID 398
Gender Male
Status Offline
I don't know how to use the www.winternals.com/support/kbfiles/xcopy16.zip recommended by the moderator. Are there any other copy tools under DOS that support long filenames? Thanks.
言多必失!必失!!油多菜不坏,礼多人不怪
Floor 6 Posted 2005-04-21 00:00 ·  美国
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
xcopy16 is used more or less the same way as the xcopy command in the command line under Win9x/2k/xp. You can view the help with the /? parameter. As for other copy tools under DOS that support long filenames, please see my post above, where I already mentioned several such tools including cp.
Wengier - 新DOS时代

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

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

Floor 7 Posted 2005-04-21 00:00 ·  中国 安徽 马鞍山 电信
中级用户
★★
Credits 452
Posts 134
Joined 2004-06-16 00:00
22-year member
UID 26857
Gender Male
Status Offline
Wengier, Google can't find a download for cp. Could you please post one?
Floor 8 Posted 2005-04-21 00:00 ·  美国
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Indeed, Google is rather poor at searching for files. Also, Google has many other shortcomings and deficiencies. For example, in "Advanced Search" it doesn't even have an option to distinguish letter case—so dizzying.
I've now uploaded CP.EXE:
Open attachment
Wengier - 新DOS时代

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

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

Floor 9 Posted 2005-04-22 00:00 ·  中国 上海 金山区 电信
银牌会员
★★★
Credits 1,231
Posts 498
Joined 2002-12-03 00:00
23-year member
UID 398
Gender Male
Status Offline
The moderator's ROM-DOS 7.10 seems not to have an XCOPY file. I downloaded the one from this address: http://newdos.yginfo.net/dosware/rdos71bd.zip
言多必失!必失!!油多菜不坏,礼多人不怪
Floor 10 Posted 2005-04-22 00:00 ·  中国 安徽 马鞍山 电信
中级用户
★★
Credits 452
Posts 134
Joined 2004-06-16 00:00
22-year member
UID 26857
Gender Male
Status Offline
Thanks, Wengier, wow, it's nearly a huge 60KB. That's too extravagant to put on a boot disk, so I'd better just use VC.
Floor 11 Posted 2005-04-22 00:00 ·  美国
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
That ROM-DOS 7.10 boot disk indeed does not have the XCOPY command (only the full version does). I've now uploaded the XCOPY command from ROM-DOS 7.10:
Open attachment
This XCOPY is much smaller than that CP and XCOPY16, even smaller than the one in MS-DOS, only 10KB, and it supports long filenames, though unfortunately it has some BUGs.
Actually, whether this XCOPY or XCOPY16, both can be used as ordinary XCOPY commands. They just have stronger and richer features (including support for long filenames, support for more command-line parameters, etc.), so they should be fairly easy to get started with.
Wengier - 新DOS时代

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

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

Floor 12 Posted 2005-04-22 00:00 ·  中国 上海 金山区 电信
银牌会员
★★★
Credits 1,231
Posts 498
Joined 2002-12-03 00:00
23-year member
UID 398
Gender Male
Status Offline
Thanks, moderator. I'll go try it out.
言多必失!必失!!油多菜不坏,礼多人不怪
Floor 13 Posted 2005-11-27 21:22 ·  IANA 局域网IP(Private-Use)
新手上路
Credits 10
Posts 5
Joined 2005-11-27 21:18
20-year member
UID 46054
Status Offline
The OP made a very good point, but why can't I open the attachments no matter what I do....
Floor 14 Posted 2005-11-27 21:28 ·  IANA 局域网IP(Private-Use)
新手上路
Credits 10
Posts 5
Joined 2005-11-27 21:18
20-year member
UID 46054
Status Offline
Can all of you download them?
Floor 15 Posted 2005-11-27 21:40 ·  IANA 局域网IP(Private-Use)
新手上路
Credits 10
Posts 5
Joined 2005-11-27 21:18
20-year member
UID 46054
Status Offline
So frustrating. If it still won't let me download, I'm going to start spamming the thread.
Forum Jump: