Retour au blog
Arnošt Havelka

Options DIR - Commutateurs de commande

Apprenez à utiliser /? pour découvrir les options des commandes

Démarrer la leçon interactive
Options DIR - Commutateurs de commande

Command Options and Help Switches

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

Usage:dir
[/w]
/?
Displays help for the command.
/w
Uses wide list format.
/p
Pauses after each screenful of information.

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.


Vérification des connaissances

1 / 1

Which switch displays help and options for any command?

Références

Ces liens Microsoft Learn et de la documentation Windows fournissent des informations fiables sur les commandes utilisées dans cet article.

À suivre

La Commande Echo

Apprenez à parler au terminal.