1
我使用Windows命令行導出目錄中所有文件的列表,包括完整路徑。命令是: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.
我想在PowerShell上運行類似的命令,但要列出超過255個字符的文件。
任何人都可以幫忙嗎?