>Therein lies the problem. There are 12 files with the first three characters being different and the other 5 being the same. Using a wildcard to delete the objectional file would take the other 12 good files with it. What seems to work best is something similar to this:
>
>
oFile = fCreate("C:\ junk.dbf")
> fClose (ofile)
>
> x1='!del c:\junk~1.txt'
> &x1If the other 12 files don't start with a space (or other hidden character), copy them to a temporary directory, delete the problem file, then copy the others back...
Paul M.
MCSE/MCSA/MCT/MCP+I, A+, Network+, I-Net+
Nil carborundum illegitimi.