Print Directory Contents to a File
- Joel Lipman
- Windows OS
- Hits: 6713
A friend asked me if there was a quick way to simply right-click on a folder in Windows Explorer and it would generate a text file with the contents of the directory he right-clicked.
What?
We can do this by adding an entry to the context menu (when you right-click on an object). The following is a method of adding this as a single command similar to how we add the "Command prompt from here" option (now built-in to Windows 7). I added this option for him in Windows 7 Ultimate using the system registry (see "How: for Windows 7" below).
-- yield a_subfolder_in_this_folder a_file_in_this_folder.txt another_file_in_this_folder.doc
- -- yield
- a_subfolder_in_this_folder
- a_file_in_this_folder.txt
- another_file_in_this_folder.doc
How?