Discussion:
xcopy failing to copy
Dave Goodbourn
2011-08-19 14:16:08 UTC
Permalink
Hi,

A strange one this, one of my packages has a xcopy command as the install
command. It starts the xcopy but just seems to stall. No error message is
displayed and the xcopy process is still running.

The folder I'm trying to copy is only about 300mb with several sub
folders. If I run the xcopy command from the command prompt it runs fine and
copies everything. I'm running wpkg v1.2 and the latest client version
too. There is nothing special about the folder I'm trying to copy.

Has anyone else experienced this? It also happens with robocopy
but strangely different files get copied before it stalls.

Cheers,
Dave.
Rainer Meier
2011-08-19 14:21:53 UTC
Permalink
Hi Dave,
Post by Dave Goodbourn
A strange one this, one of my packages has a xcopy command as the install
command. It starts the xcopy but just seems to stall. No error message is
displayed and the xcopy process is still running.
Due to a limitation in WSH there is an issue when commands print more than ~4k
on the console. So if you sue xcopy within a command, then make sure to redirect
its output to a file, NUL or even better, use the /Q switch to prevent huge
screen output. You won't be able to see the output during WPKG execution anyway.
So if you need to have a look at xcopy output, then redirect it to a file.

br,
Rainer
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
Continue reading on narkive:
Loading...