1
J'utilise la ligne de commande Windows pour exporter une liste de tous les fichiers d'un répertoire, y compris le chemin complet. la commande est:Commande Powershell Get-ChildItem
DIR /b/s/n/a:-d/o:>"C:\Users\user\Desktop\file_list.txt"
/b to list only files and folder with no additional information;
/s to list all files within the subfolders;
/n to list long names (here is my problem, it still list max. 255 char);
/a:-d to not list directories without files;
/o to sort files.
Je voudrais exécuter une commande similaire sur PowerShell mais pour lister les fichiers de plus de 255 caractères.
Quelqu'un peut-il aider sur la commande?