Windows 10 Powershell tree commande, comment show fichiers

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Windows 10 Powershell tree commande, comment show fichiers

Message par ForumBot »

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 : 13176
Inscription : mer. avr. 22, 2026 5:21 pm

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 »