> For the complete documentation index, see [llms.txt](https://docs.chamilo.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chamilo.org/1.11.x-es/manual-del-profesor/primeros_pasos_documentos/borrando_un_archivo_o_un_directorio.md).

# Borrando un archivo o un directorio

Para borrar, editar, ocultar o mostrar un archivo o directorio, usa las opciones de la columna derecha en la lista de documentos:

![](/files/-MFUo4k5SZYXFaFP5liH)

*Ilustración 37: Documentos - Opciones*

Como te habrás dado cuenta, los iconos varían dependiendo del tipo de documento. Los documentos HTML ofrecen más posibilidades.

El icono de barita mágica te permite utilizar el documento seleccionado como una plantilla para crear nuevos documentos. Esto hace muy fácil asegurar un estilo visual consistente para todos los documentos del mismo curso.

El icono de PDF te permite exportar el documento en formato PDF. Esto puede ser particularmente útil si deseas leer tu curso en el tren o el avión, donde no tengas acceso a tu plataforma e-learning.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.chamilo.org/1.11.x-es/manual-del-profesor/primeros_pasos_documentos/borrando_un_archivo_o_un_directorio.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
