Ever wanted to get the names of the files in a folder into a CSV file so that you can then do some processing with the file name. The easiest way to do that is to open a Command Prompt window in the directory where all the files are located and then type the following command:
dir /b>files.csv
The command above will create a file called “files.csv”. To get other details about the file into the files.csv, you can check other parameters of dir command using dir /?
dir /b>files.csv
The command above will create a file called “files.csv”. To get other details about the file into the files.csv, you can check other parameters of dir command using dir /?