Print the line you are executing to verify that it is attempting what you expect.

code:
? 'copy $SrcFile $DestPath'
Get $

when the script stops with theis on the screen compare it to the DOS command that worked. Is it the same?

Copy it and try it in another DOS window.

[ 19. February 2003, 14:19: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/