I use the /s /d /y switches. I think if you use /e, then /s is redundant,
but wont hurt of course.
According to my DOS 5 manual states that if your use the /e (copy
empty directory), then you MUST use the /s switch too. the /s on its
own will only copy directories and subdirectories that have files in
'em.
Without /s xcopy will only work within a single directory.
What is a /y switch (a typo that should read /d ??)
Echo echoes the command line. The file names
that are copied will be echoed anyway, without echo.
OK - didn't know that...
I backup to multiple places, the backup disk, or to the 2nd computer with
UNC name, etc. So I name my batches with names like copytog.bat to keep
them straight.
Yes, no problem, just put quotes around that path. Like:
xcopy *.* "g:\My Documents\" /d /s /e
Geeeee - I should have thought about that - standard VB syntax! except
dos came first!
[]
I'm sorry, I dont know about the I/O error.. I dont think I have ever seen
that. That seems something that should be addressed. Maybe run
Chkdsk/scandisk, or rewrite those files?
No sweat - managed to cut the wait down to about 30 seconds using
Ctrl-Break...
Chkdsk et al: I have had 4 viruses and one nasty Trojan (even with
Norton, Giant Anti-spy, Registry Mechanic and Zone Alarm4 and a
massive condom over the machine) that has corrupted may of my files
causing the machine to freeze but the drives 'hunting' in a rhythmic
fashion. the only way to get control back is to hit the off
button/reset. this, in turn, may have caused interlacing issued with
raid 0. Because this, I want to start afresh & whilst I'm about it
reconfigure the drives to what I call "Conventional" config!!!!
The copy/paste or the DOS Batch xcopy grind to a halt when given a
corrupt file to copy. and with so many corrupt files, it has been a
nightmare to find them and delete them but with thanks to your
guidance all is now sorted via the xcopy process. I shall run that on
a twice daily basis (or even more if needs be)
Another question if I may:
JBOD: there is an ambiguous definition that gives the size as the sum
of all drives in the JBOD "array".
Would this mean that if I were to set up 2 x 200 Gb drives as JBOD,
they would be seen as, say, C drive at 400 Gb
OR
C drive at 200 Gb and D drive at 200 Gb?
Maybe it will be obvious when I do the change over!!!!
--
Donald Gray
Putting ODCOMBE on the Global Village Map!
www.odcombe.demon.co.uk
You do not have to email me, but if you wish to...
Please remove the SafetyPin from my email address first
Thanks