[Freedos-user] XCOPY still acting up in Windows XP !!?? (copying to external hard drive)

2007-10-29 Thread LimeyDi

I have trawled for a solution but remain mystified, and I have been a basic
user of basic DOS for a few years.  In the past I used XCopy successfully on
a regular basis to copy the contents of the Owner\My Documents folder, with
the d/ switch blank so that only changed files would be overwritten, to a
backup folder.  However I can't get this to work when copying to the
external drive:   I want to copy My Documents from the C: drive to a Backup
folder on an external hard drive, which is drive I: connected to my PC.  I
can manually copy files there but XCopy generates error messages.  Here's my
batch file as it is now:

XCOPY C:\Documents_and_Settings\Owner\My Documents\*.*
I:\Backup\My_Documents\*.* /s /h /d /r /y

Notice that in an attempt to figure this out I inserted underscores between
folder name words, but with or without these, I get either too many
parameters or invalid path.  A colleague suggested inserting ~ after the
7th letter of a folder name (Backup\My_Docu~\ for example) but that doesn't
work either.  Any bright ideas???   and thank you!
-- 
View this message in context: 
http://www.nabble.com/XCOPY-still-acting-up-in-Windows-XP-%21%21%28copying-to-external-hard-drive%29-tf4712372.html#a13469798
Sent from the FreeDOS - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] XCOPY still acting up in Windows XP !!?? (copying toexternal hard drive)

2007-10-29 Thread LimeyDi
Thank you, Mr. Riebisch, and my apologies for intruding by mistake into the
wrong forum.  Another user also suggested using opening and closing quotes,
but only around the source, not the target.  I'll experiment. 


A reply from Di 
[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Riebisch
Sent: Monday, October 29, 2007 4:12 PM
To: freedos-user@lists.sourceforge.net
Subject: Re: [Freedos-user] XCOPY still acting up in Windows XP !!??
(copying toexternal hard drive)

At first: This is a mailing list about FreeDOS. It's not about Windows XP's
DOS window, which is something completely different!

LimeyDi wrote:

 XCOPY C:\Documents_and_Settings\Owner\My Documents\*.*
 I:\Backup\My_Documents\*.* /s /h /d /r /y
 
 Notice that in an attempt to figure this out I inserted underscores 
 between folder name words, but with or without these, I get either 
 too many parameters or invalid path.  A colleague suggested 
 inserting ~ after the 7th letter of a folder name (Backup\My_Docu~\ for
example) but that doesn't
 work either.  Any bright ideas???   and thank you!

Try (notice those `'):
XCOPY C:\Documents and Settings\Owner\My Documents\*.* I:\Backup\My
Documents\*.* /s /h /d /r /y

Next time, please ask some Windows guys for help!

Robert Riebisch
--
BTTR Software
http://www.bttr-software.de/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] XCOPY still acting up in Windows XP !!??(copying to external hard drive)

2007-10-29 Thread LimeyDi
Many thanks, I will give this a try. 


A reply from Di 
[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of MegaBrutal
Sent: Monday, October 29, 2007 4:15 PM
To: freedos-user@lists.sourceforge.net
Subject: Re: [Freedos-user] XCOPY still acting up in Windows XP !!??(copying
to external hard drive)

Hi LimeyDi,

 Notice that in an attempt to figure this out I inserted underscores 
 between folder name words, but with or without these, I get either 
 too many parameters or invalid path.  A colleague suggested 
 inserting ~ after the 7th letter of a folder name (Backup\My_Docu~\ for
example) but that doesn't
 work either.  Any bright ideas???   and thank you!

Parameters that contain long file names with spaces, should be indicated
with quotation marks:
XCOPY C:\Documents and Settings\Owner\My Documents\*.*
I:\Backup\My Documents\*.* /s /h /d /r /y

That should work.

Regards,
MegaBrutal

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user