Hi. I'm wondering if there is software to generate a list of files on a flashdrive that can be printed out. Or how can this be done if at all?
Thank you!
Printable View
Hi. I'm wondering if there is software to generate a list of files on a flashdrive that can be printed out. Or how can this be done if at all?
Thank you!
The simple way to do this without the need for any additional software is to export the results of a DIR command to a text file. You can then use Notepad, Wordpad, Word, or any other software of your choice to edit and format the text file for printing.
Open a Command Prompt window and enter the following command:
Replace F: with the drive letter of the flash drive you want to get the contents of.Code:dir F: > C:\Users\{UserName}\Documents\FFiles.txt
Replace the first F in the FFiles.txt file name with the drive letter of the flash drive.
Note:
If you have folders and/or subfolders on the flash drive, you will need to modify the command, as in the example below:
Useful links:Code:dir F:\Folder > C:\Users\{UserName}\Documents\FFolderFiles.txt
https://www.groovypost.com/tips/prin...er-windows-10/
https://www.computerhope.com/issues/ch000772.htm
https://helpdeskgeek.com/how-to/redi...-to-text-file/
https://www.howtogeek.com/98064/how-...ing-to-a-file/
https://smallbusiness.chron.com/copy...ist-40032.html
https://www.digitalcitizen.life/how-...older-windows/
https://www.howtogeek.com/363639/how...nd-in-windows/
https://docs.microsoft.com/en-us/win...s-commands/dir
https://www.computerhope.com/dirhlp.htm
https://www.lifewire.com/dir-command-4050018
https://en.wikipedia.org/wiki/Dir_(command)
Excellent! I will give this a try. Thank you for your help, I appreciate it!
If you only want the file names, you can add some switches to the dir command.
/O:N = name
/s = subfolders
/b = bare (only name)
So for jdc2000's command:
dir F: /O:N /s /b > C:\Users\{UserName}\Documents\FFiles.txt