Create a new file in a text editor (i.e. open Notepad)
New notepad file
Insert the following text into the file:
dir /a /b /-p /o:gen >C:\WINDOWS\Temp\file_list.txt
start notepad C:\WINDOWS\Temp\file_list.txt
Notepad file with inserted text
Save the file as File List Generator.bat
To show the contents of a directory (folder) in a text file, simply copy or move the File List Generator.bat file into the folder where you want the contents printed and double-click the file.
This will save a text file with the contents of the folder and then open it in Notepad.
From here you can edit, format and print the contents.
Modifying the output of the text file:
In the above example the text file simply created a list of the files and folders within the directory. It is also possible to output other information about the directory such as date and time stamps, file sizes and drive information.
Create a new file in a text editor (i.e. open Notepad)
Insert the following text into the file:
dir /a /b /-p /o:gen >C:\WINDOWS\Temp\file_list_full.txt
start notepad C:\WINDOWS\Temp\file_list_full.txt
Save the file as File List Generator.bat
useful to kung maraming mp3 or games sa isang windows explorer folder na gusto mong iprint para sa customer this might help you.
enjoy!