You could perform this task manually, but it could take a long time. However, you can also use a PowerShell command to speed the process to a few seconds. In this guide, you’ll learn the steps to use a PowerShell command to create an inventory of the content of a folder on Windows 10.
How to export list of files to csv on Windows 10
To create an Excel file containing files information from a folder with PowerShell, use these steps: Once you complete the steps, the command will create a csv file containing a lot of information about the contents inside the folder, including name of files, path, dates, and more, which you can then view and edit using Excel. Open PowerShell folder location In the command, make sure to update the path and name of the output file. For example, this command saves the output to the Desktop folder: Export folder info to CSV file The command only creates a list of the files and folders within the current location, not subfolders. All content on this site is provided with no warranties, express or implied. Use any information at your own risk. Always backup of your device and files before making any changes. Privacy policy info.