![]() |
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 02:02 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS学习入门 & 精彩文章 (教学室) » [Help] How to copy a large number of long-filename files under DOS |
| Printable Version 1,001 / 6 |
| Floor1 AA79870906AA | Posted 2003-10-24 00:00 |
| 初级用户 Posts 7 Credits 132 | |
|
DOS 7.1,
After loading doslfn, I want to copy a directory on D:\, for example TENCENT, to c:\program files. That directory contains a large number of long-name subdirectories and long-name files. If I use xcopy, it doesn't support long filenames. If I use the COPY command, it's really too troublesome. So I'd like to ask all the experts here, is there any method or software that can do this? (Writing a batch file would also be fine. How should it be written? Please tell me, brothers. I'd be extremely grateful!) |
|
| Floor2 如是大师 | Posted 2003-10-24 00:00 |
| 元老会员 Posts 3,351 Credits 9,654 From 湖北 | |
|
Use file managers like vc, nc, pcdt, etc. . .
Do you have to do it from the command line? |
|
| Floor3 AA79870906AA | Posted 2003-10-24 00:00 |
| 初级用户 Posts 7 Credits 132 | |
|
If using the command line, is there software like that?
Also, I've heard that xclone from the new DOS era supports long filenames, but after I loaded doslfn and tried it, it didn't work. For example: c:\>xclone d:\tencent c:\progra~1\tencent As a result, not only were all the long filenames changed to ones ending in ~1, but QQ was broken too. How can I make it support long filenames? |
|
| Floor4 Wengier | Posted 2003-10-24 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
XCLONE does support long filenames, but unfortunately when it runs it automatically checks whether Win9x is running. Only if it is will it use long filenames; otherwise it only uses short filenames.
If you want command-line XCOPY with long filename support, you can use the COPY /S command in 4DOS 7.5. For example: 4DOS /C COPY /S source folder target folder That way, after the copy is finished, 4DOS will automatically exit. |
|
| Floor5 E网飞鸿 | Posted 2003-10-25 00:00 |
| 初级用户 Posts 9 Credits 143 | |
|
The oldest old grandpa in the village told me that something like this had once happened in the jianghu too. Later, a young expert appeared, and this was how he solved it——————————————————copy *.*
|
|
| Floor6 AA79870906AA | Posted 2003-10-25 00:00 |
| 初级用户 Posts 7 Credits 132 | |
|
Works great, thanks Wengier!
The following is quoted from E网飞鸿's post on 2003-10-25 12:07:51:The young man really is an expert. . . |
|
| Floor7 E网飞鸿 | Posted 2003-10-28 00:00 |
| 初级用户 Posts 9 Credits 143 | |
|
I'm flattered, I'm flattered, haha
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |