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-06-26 11:23
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » How can I make this batch copy run successfully under XP? View 701 Replies 1
Original Poster Posted 2003-07-25 00:00 ·  中国 湖北 武汉 联通
初级用户
Credits 147
Posts 18
Joined 2003-07-11 00:00
22-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 the 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's 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?~
Floor 2 Posted 2003-07-27 00:00 ·  中国 江西 吉安 电信
版主
★★★★
Credits 7,296
Posts 1,628
Joined 2002-10-16 12:00
23-year member
UID 10
Gender Male
Status Offline
Use XXCOPY. That one has stronger features. www.xxcopy.com
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
Forum Jump: