alcasite

Comandos CMD esenciales.

Actualizada el 11 de noviembre de 2026

Tarea Comando
Ayuda comando /?
Listar dir /a /s
Cambiar de directorio cd, cd .., D:
Crear / borrar carpeta mkdir, rmdir /s /q
Copiar copy, xcopy /e /i, robocopy origen destino /mir
Mover / renombrar move, ren
Borrar del /f /q
Ver archivo type archivo.txt, more
Buscar texto findstr /i "texto" *.txt
Árbol tree /f
Atributos attrib +h +r archivo
Red ipconfig /all, ping, tracert, nslookup, netstat -ano, arp -a
Sistema systeminfo, hostname, whoami, ver
Discos diskpart, chkdsk C: /f, defrag C: /O
Integridad sfc /scannow, DISM /Online /Cleanup-Image /RestoreHealth
Apagar shutdown /s /t 0, shutdown /r /t 0

Redirecciones: > sobrescribe, >> añade, | encadena (ipconfig | findstr IPv4).