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-02 01:38
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » How to copy long paths and long filenames containing Chinese under DOS? View 1,092 Replies 3
Original Poster Posted 2007-12-22 19:56 ·  中国 上海 闵行区 电信
初级用户
Credits 28
Posts 9
Joined 2007-12-22 14:31
18-year member
UID 106464
Gender Male
Status Offline
Tried using xcopy, but after copying, the filenames and folder names come out garbled.
Floor 2 Posted 2007-12-22 21:56 ·  中国 上海 闵行区 电信
初级用户
Credits 28
Posts 9
Joined 2007-12-22 14:31
18-year member
UID 106464
Gender Male
Status Offline
This is really depressing. Can anyone give me some pointers??

The following command can be used under winxp.
Under DOS I can't find a usable xcopy—either the names come out garbled, or it simply can't be used at all. So frustrating!

xcopy "C:\Documents and Settings\管理员\Local Settings\Application Data\Google\Picasa2\db2" "D:\我的文档\软件备份\Picasa\db2" /e/h/k
Floor 3 Posted 2007-12-23 08:06 ·  中国 广东 茂名 化州市 电信
中级用户
★★
Credits 396
Posts 183
Joined 2007-12-23 06:24
18-year member
UID 106531
Gender Male
Status Offline
If there are English letters before the Chinese name, then it's easier to handle.
Use ~1 in place of the Chinese.
Floor 4 Posted 2007-12-26 14:18 ·  加拿大 Primus
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Under DOS, first make sure you have a long filename driver installed (DOSLFN 0.40F), then use the XCOPY substitute -- XCP 1.63, and you can copy long filenames in both Chinese and English. Both can be downloaded from the forum.
Wengier - 新DOS时代

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

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

Forum Jump: