Search found 1 match
- 2024-Apr-03, 2:36 am
- Forum: Windows CMD Shell
- Topic: Get a sorted list of the files in Windows OneDrive.
- Replies: 4
- Views: 1018
Re: Get a sorted list of the files in Windows OneDrive.
You can use Command Prompt or PowerShell to achieve this more efficiently. Here's a PowerShell command that lists all files in your OneDrive directory sorted by file size: Get-ChildItem -Path "$env:USERPROFILE\OneDrive" -Recurse | Where-Object {!$_.PSIsContainer} | Select-Object FullName, ...