|
-
Dec 12th, 2003, 04:28 AM
#1
Thread Starter
Frenzied Member
Batch File - Xcopy [RESOLVED]
I have this in a batch script
Code:
xcopy E:\Websites\CorpFrance\*.* H:\DBNET\CorpFrance\*.* /S /Y /EXCLUDE:\Websites\CorpFrance\images\*.*
But when it runs, I get this error:
Can't read file: \Websites\CorpFrance\images\*.*
I've tried all kinds of paths in the exclude switch, but it's no good Can anyone help to point out the problem?
Thanks
Last edited by TomGibbons; Dec 12th, 2003 at 06:15 AM.
-
Dec 12th, 2003, 06:15 AM
#2
Thread Starter
Frenzied Member
Well apparently, the 'exclude' switch actually wants you to give it the filename of a file containing the list of files/directories that you want to exclude.
So yeah, it works now anyway
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|