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-08-25 21:23
中国DOS联盟论坛 » 其它操作系统综合讨论区 » How can I make this batch copy run successfully under XP? View 877 Replies 0
Original Poster Posted 2003-07-25 00:00 ·  中国 湖北 武汉 联通
初级用户
Credits 147
Posts 18
Joined 2003-07-11 00:00
23-year member
UID 6734
Gender Male
Status Offline
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?~
Forum Jump: