D
David Battams
Hi there,
I'm calling xcopy in a post build event to copy some runtime requirements to
the TargetDir of the application I am working on. Problem is that I only
seem to be able to have 9 calls to xcopy. If I make any more calls than the
9, it will fail. I can call the same command 9 times, and the 10th will
fail, or I can call 10 different ones and it will fail on the tenth.
Basically it doesn't matter how I mix it up, but if I take a bunch of xcopy
commands that copy different files to the same location, no matter which
order and despite the fact each command works by itself or when 9 or less
commands are executed, if I go to 10 commands it fails. :-(
I tried to reproduce this in a new C++ app, copying "C:\test.txt" to the
TargetDir, but it seems I can call xcopy as many times as I like and it will
work in the test app.
What could be the problem in my application?
Regards,
David.
I'm calling xcopy in a post build event to copy some runtime requirements to
the TargetDir of the application I am working on. Problem is that I only
seem to be able to have 9 calls to xcopy. If I make any more calls than the
9, it will fail. I can call the same command 9 times, and the 10th will
fail, or I can call 10 different ones and it will fail on the tenth.
Basically it doesn't matter how I mix it up, but if I take a bunch of xcopy
commands that copy different files to the same location, no matter which
order and despite the fact each command works by itself or when 9 or less
commands are executed, if I go to 10 commands it fails. :-(
I tried to reproduce this in a new C++ app, copying "C:\test.txt" to the
TargetDir, but it seems I can call xcopy as many times as I like and it will
work in the test app.
What could be the problem in my application?
Regards,
David.