Is it correct that you want to change al extensions to .FBF in your first line of code?
Alos, try to copy to the directory by puuting a backslash at the end to denote a directory and not a file as in
code:
Copy 'a:\*.*' 'c:\backup\'+$sdate+'\'
? ''+@ERROR+' - '+@SERROR

and check the returned error code for success.

[ 31 July 2002, 14:03: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.