Page 1 of 1
Xcopy, insufficient space
Posted: 02 May 2011 15:09
by walter4991
Hello everyone, I made a script that I make a backup of my pen drive but when I start up after a while gives me the error: "insufficient space"... I read that this depends on the Length of paths and file names ... How can I do?
Here's the code:
Code: Select all
xcopy *.* "%userprofile%\Desktop\Backup Pen Drive" /e /i /y /h /r
I also tried adding the "/ n ", but nothing has changed ...
Thanks, Walter.
Re: Xcopy, insufficient space
Posted: 04 May 2011 14:03
by walter4991
up...
Re: Xcopy, insufficient space
Posted: 04 May 2011 16:44
by aGerman
No idea. Doesn't sound like too long names but like too much data. Maybe it could help to append the /j option.
Regards
aGerman
Re: Xcopy, insufficient space
Posted: 06 May 2011 10:59
by walter4991
What is /j ? in the help of the xcopy command is not present...
Re: Xcopy, insufficient space
Posted: 06 May 2011 11:53
by aGerman
Oh, I didn't realized that. It's in my help on Windows 7 but I cannot remember that I found it on XP
On the
Micrsoft web sites I found the following:
Code: Select all
/j Copies files without buffering. Recommended for very large files. This parameter was added introduced in Windows Server® 2008 R2.
So, sorry but I have no further idea.
Regards
aGerman
Re: Xcopy, insufficient space
Posted: 11 May 2011 09:49
by alan_b
walter4991 wrote:What is /j ? in the help of the xcopy command is not present...
You did not need to ask that.
CMD.EXE gives you the answer when you enter
XCOPY /?
Do you have CMD.EXE, or are you using Windows 98 or earlier, perhaps even DOS 3.2 ?