Trish...
Maybe something like this will do the trick...
This will exclude *.txt extensions...
code:
$FileName = Dir("C:\TEMP")  ; <-- put your directory here
While $FileName <> "" and @ERROR = 0
If Right($filename,3) <> "txt"
? $FileName
; put your xcopy command here
EndIf
$FileName = Dir() ; retrieve next file
Loop



[ 10. January 2003, 22:03: Message edited by: Waltz ]
_________________________
We all live in a Yellow Subroutine...