Do you want to copy all file names in a specific folder and save it as a text file? If so, you don’t need any special tools, all you need is Windows and a command prompt. How-to guide after the break.
Copying the file names in a folder is relatively easy. It can always be handy to know how to do this, you never know when you will need this. For example if you want to upload multiple files to a website, but you are too lazy to copy the file names of all pictures individually, then you will need to know this.
Anyway, let’s get started:
1. Step Open the Windows Explorer (Windows key + E)
2. Step Browse to your folder with all the files, e.g. C:\Users\[yourusername]\Pictures
3. Step Click on the address bar, select it and copy the entire address via CTRL + C (hold both)
4. Step Open up a command prompt (click on the link if you don’t know how)
5. Step Enter cd, then hold CTRL + V to insert the address that we copied into our clipboard in step 3.
6. Step Hit enter
7. Step Enter DIR /B /O:N > filenames.txt (filenames.txt is the name of the txt file)
8. StepNow open the folder where your files are stored and open the text file filenames.txt
9. Step Congratz, you have just copied all file names from a folder and stored them into a text file.
Should you want to copy files names not only from a folder, but from sub-folders as well, you simply add a /S for subdirectories to the command: DIR /B /O:N /S > filename.txt
Trending On Windows Themes .Net