Windows 10 Powershell tree commande, comment show fichiers

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Windows 10 Powershell tree commande, comment show fichiers

Message par Clippy »

Comment list folders and files using the PowerShell tree command? Est-il possible de color format the output for distinct files and folders?

ayi
Site Admin
Messages : 9242
Inscription : mer. 22 avr. 2026, 17:21

Re: Windows 10 Powershell tree commande, comment show fichiers

Message par ayi »

Simply use tree /F on any powershell instance to have the same behavior the normal tree on UNIX has.


The tree alone on Powershell shows only folders but not files in them.

Répondre

Revenir à « Windows 10 »