-
September 20th, 2021, 12:33 PM
#1
Printing a list of files that are on a flashdrive
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!
-
September 20th, 2021, 01:11 PM
#2
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:
Code:
dir F: > C:\Users\{UserName}\Documents\FFiles.txt
Replace F: with the drive letter of the flash drive you want to get the contents of.
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:
Code:
dir F:\Folder > C:\Users\{UserName}\Documents\FFolderFiles.txt
Useful links:
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)
-
September 20th, 2021, 06:14 PM
#3
Excellent! I will give this a try. Thank you for your help, I appreciate it!
-
September 20th, 2021, 06:56 PM
#4
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
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|