View Single Post
Old November 4th, 2008, 03:56 PM   Digg it!   #1 (permalink)
Cdor
Junior Member
 
Join Date: Nov 2008
Posts: 6
bat file problem running xcopy

Hi, I'm running an XCOPY command within a bat file. The XCOPY takes several hours to run, lots of large files. Once it gets to the XCOPY, it copies all the files, but it does not continue to the next line in the bat file. It just stops. Any idea what is going on? Is there some sort of timeout? This is on a Windows 2000 server. The command looks like:

xcopy /O /Y E:\aaa\bbb\*.* E:\ccc\ddd\data 1>> E:\backup\log\backup_log.txt

Again, all the files are copied, but it doesn't execute the next line which is
echo . >> E:\backup\log\backup_log.txt

Any ideas?
Cdor is offline   Reply With Quote
Search TechIMO for Answers: