How to get a list of files in a folder (In Windows 7, XP, Vista)

To get a list of files you have in a folder, follow the steps provided in this tutorial.

preview-how to get a list of files in a folder

Tip: If you like short tutorials, here’s the short version how to copy multiple files names in folder into a text file

Steps to get a list of files in a folder windows 7

1. Step Click Start >> All Programs

step-1- how to get a list of files in a folder windows 7

2. Step Click Accessories

step-2- how to get a list of files in a folder windows 7

3. Step Click Notepad.

step-3- how to get a list of files in a folder windows 7

4. Step In the opened notepad file type dir /o /s > output.txt

step-4- how to get a list of files in a folder windows 7

5. Step Now save the notepad file as filename process.bat to the folder where you want to get a list of files containing in it. In my case, I have saved it inside folder named uttam. To save file, click File >> Save. Then give your file name and click Save.
step-5- how to get a list of files in a folder windows 7

6. Step Now locate the file – process.bat you have just saved by opening the folder saved in it.

step-6- how to get a list of files in a folder windows 7

7. Step Double click on the file – process.bat to open it. Then a command prompt screen may flash out. It may stay depending how many files and folders you have inside the folder. Then after a moment the command prompt screen disappears.

step-7- how to get a list of files in a folder windows 7

8. Step Then you will see a file named as “output.txt” which is automatically created.

step-8- how to get a list of files in a folder windows 7

9. Step Double click on it (output.txt). Inside it, there you will see all the list of files and folder present in this folder “uttam” where we created file process.bat. That are the complete steps you need to get a list of files in a folder.

step-9- how to get a list of files in a folder windows 7

Video

Conclusion

Getting a list of files is useful when you want to make a log sheet or assess all the file names as well as folder names located inside a particular folder.


5 of 5 0 (100%) 3 votes
- Cheers!