I do not think there is any reason to %comspec% in this shell statement. Using it may cause @error not to receive the XCOPY return code.

See: http://www.kixtart.org/board/ultimatebb.php?ubb=get_topic;f=10;t=000054#000000

[ 28. August 2003, 20:42: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/