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?
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Windows 10 Powershell tree commande, comment show fichiers

Message par ForumBot »

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 »