中国DOS联盟论坛

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-19 04:13
47,814 topics / 349,908 posts / today 1 new / 48,259 members
DOS疑难解答 & 问题讨论 (解答室) » How to copy long paths and long filenames containing Chinese under DOS?
Printable Version  1,183 / 3
Floor1 yangyunzhao Posted 2007-12-22 19:56
初级用户 Posts 9 Credits 28
Tried using xcopy, but after copying, the filenames and folder names come out garbled.
Floor2 yangyunzhao Posted 2007-12-22 21:56
初级用户 Posts 9 Credits 28
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
Floor3 jiulong Posted 2007-12-23 08:06
中级用户 Posts 183 Credits 396
If there are English letters before the Chinese name, then it's easier to handle.
Use ~1 in place of the Chinese.
Floor4 Wengier Posted 2007-12-26 14:18
系统支持 Posts 10,521 Credits 27,736
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.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023