the basic troubleshooting steps that I would employ are:

1) print the command to verify it looks proper. Add something like ? 'Copy "%0\..\ls.bmp" $dir' before the copy command.

2) Add '? @error @serror" after the COPY command to determine why the coomand is failing.
_________________________
Home page: http://www.kixhelp.com/hb/