how to copy folder names into excel using cmd?
To save the list in Excel format, click "File," then "Save As." Choose "Excel Workbook (*. xlsx)" from the file type list and click "Save." To copy the list to another spreadsheet, highlight the list, press "Ctrl-C," click the other spreadsheet location, and press "Ctrl-V."