Volver al blog
Arnošt Havelka

Opciones DIR - Modificadores de Comando

Aprenda a usar /? para descubrir opciones de comandos

Iniciar lección interactiva
Opciones DIR - Modificadores de Comando

Every Windows command supports options (or switches) that customize its behavior. You can discover these options by appending the /? help switch to any command.

Prueba el comando

Try using dir /? or dir /w to see options!

Construir el comando
dir
/?Displays help for the command.
/pPauses after each screenful of information.
Terminal
C:\Users\User>dir /w

Using the Help Switch

To see all available options for the dir command, you run:

dir /?

This displays a list of all options, such as /w for wide format and /p to pause after each screenful.


Comprobación de conocimientos

1 / 1

Which switch displays help and options for any command?

Referencias

Estos enlaces de documentación aportan detalles confiables sobre los comandos usados en este artículo.

Siguiente

El Comando Echo

Aprenda a hablar con la terminal.