FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour COMO PUEDO BORRAR MULTIPLES ARCHIVOS *.DBF
Posts: 69
Joined: Tue Jul 17, 2007 12:37 PM
COMO PUEDO BORRAR MULTIPLES ARCHIVOS *.DBF
Posted: Wed Jan 09, 2008 12:53 AM

Estimado Colegas

Necesito borrar unas cuantas DBFs temporales del disco, alguien
me podria indicar como hacerlo

Gracias
Fabian

devwin2010@yahoo.com.ar

Posts: 682
Joined: Tue Feb 14, 2006 09:48 AM
COMO PUEDO BORRAR MULTIPLES ARCHIVOS *.DBF
Posted: Wed Jan 09, 2008 08:34 AM
aFile:=Directory("*.dbf")  //puedes usar patrones de busqueda "tmp???*.dbf" "tmp*.dbf" etc
aEval(aFile,{|a| fErase(a[1])})
Saludos desde Mallorca
Biel Maimó
http://bielsys.blogspot.com/

Continue the discussion