中国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-12 20:30
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » How can I make this batch copy run successfully under XP?
Printable Version  766 / 1
Floor1 柳世杀神 Posted 2003-07-25 00:00
初级用户 Posts 18 Credits 147
Operating system: WINDOWS XP SP1
A copy command like this:
xcopy %USERPROFILE%\Applic~1 d:\desktop\
The purpose is to copy the Application Data under the user's 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\, so if I want to achieve this function, what should I do?~
Floor2 李小龙 Posted 2003-07-26 00:00
高级用户 Posts 223 Credits 778
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023