中国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-25 21:57
47,812 topics / 349,910 posts / today 0 new / 48,264 members
其它操作系统综合讨论区 » How can I make this batch copy run successfully under XP?
Printable Version  878 / 0
Floor1 柳世杀神 Posted 2003-07-25 00:00
初级用户 Posts 18 Credits 147
Operating system: WINDOWS XP SP1
A copy like this:
xcopy %USERPROFILE%\Applic~1 d:\desktop\
The purpose is to copy Application Data under the user folder to D:\DESKTOP\
But when I run this program, it shows:
D:\>xcopy C:\Documents and Settings\柳世杀神\Applic~1 d:\desktop\
Invalid number of parameters
Later I found out it was because of the space in C:\Documents and Settings\, but I have no way to set %USERPROFILE% to Docume~1 so that it becomes c:\docume~1\柳世杀神\applic~1 d:\desktop\. If I want to achieve this, what should I do?~
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023