Clarion - Borrar Archivos

 
Vista:

Borrar Archivos

Publicado por Andres Ramos (22 intervenciones) el 23/11/2014 19:21:15
Hola Amigos del foro: Como puedo borrar unos archivos desde un aplicativo en clarión

Gracias Por sus Comentarios
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder
Imágen de perfil de ricrado pardo
Val: 78
Bronce
Ha mantenido su posición en Clarion (en relación al último mes)
Gráfica de Clarion

Borrar Archivos

Publicado por ricrado pardo (214 intervenciones) el 24/11/2014 01:21:32
de la ayuda de clarion

REMOVE(file)

REMOVE Deletes a FILE.

file The label of the FILE to be removed, or a string constant or variable containing the filename of the file to erase.

The REMOVE statement erases a file specification from the operating system directory in the same manner as the DOS "Delete" command. The file must be closed, or the "File Already Open" error is posted. If any error is posted, the file is not removed.
Since some file drivers use multiple physical disk files for one logical FILE structure, the default filename and extension assumptions are dependent on the file driver. If any error is posted, the file is not deleted.

Errors Posted: 02 File Not Found
03 The system cannot find the path specified.
05 Access Denied
52 File Already Open

Example:

REMOVE(OldFile) !Delete the old file

REMOVE('Changes.dat') !Delete the changes file
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar