Try this...

shell "%comspec% /c xcopy c:\winnt\*.* c:\wintmp\ /s /v /e >$LogFile 2>&1"

Shawn.