Unusual Behavior for My Data Sources With Respect to Xcopy

J

Jack Gillis

Foy years I have used the following in a batch file to copy any new or newer
files in My Documents to my backup drive F:.

@xcopy "d:\My Documents\*.*" "F:\My Documents\" /D /Y /S

That statement does its job for all the sub folders in My Documents except
for My Data Sources. Is there something peculiar to My Data Sources that
prevents the command from copying new or newer files to F:?

I have tried the /E switch with the same result -- no copying.

This statement added to the batch file produces the desired result. What am
I missing here?

Thank you.

P.S. XP Home SP2.
 
J

Jack Gillis

Jack Gillis said:
Foy years I have used the following in a batch file to copy any new or
newer files in My Documents to my backup drive F:.

@xcopy "d:\My Documents\*.*" "F:\My Documents\" /D /Y /S

That statement does its job for all the sub folders in My Documents except
for My Data Sources. Is there something peculiar to My Data Sources that
prevents the command from copying new or newer files to F:?

I have tried the /E switch with the same result -- no copying.

This statement added to the batch file produces the desired result. What
am I missing here?

Whoops! I left the statement out. Here it is.

@xcopy "d:\My Documents\My Data Sources\*.*" "F:\My Documents\My Data
Sources\" /D /Y /s

Very sorry about that.
 
J

Jack Gillis

Foy years I have used the following in a batch file to copy any new or newer
files in My Documents to my backup drive F:.

@xcopy "d:\My Documents\*.*" "F:\My Documents\" /D /Y /S

That statement does its job for all the sub folders in My Documents except
for My Data Sources. Is there something peculiar to My Data Sources that
prevents the command from copying new or newer files to F:?

I have tried the /E switch with the same result -- no copying.

This statement added to the batch file produces the desired result.


@xcopy "d:\My Documents\My Data Sources\*.*" "F:\My Documents\My Data
Sources\" /D /Y /s


What am I missing here?

Thank you.

P.S. XP Home SP2.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top