The high performance and high efficiency of Microsoft Windows7 not only won the wide acclaim of ordinary users, but also received the unanimous approval of many office people. Sometimes you will find that when you need to print all the file directories in a folder, the operation is more cumbersome, the text to teach you a trick. Just a little change in the Windows7 operating system can make the print job easier, and it takes a bit of time to do this, but if you're constantly printing files, you'll find the benefits much better.
Here are two different options to help you do this. Method one provides a solution for printing all the file directories of a folder at once; method Two is a more long-lasting function, adding an option directly to the right mouse menu to perform this operation.
Let's start by looking at how the first method operates. The first thing you need to do is open the command prompt manager and navigate to the folder or absolute path of the file directory you want to list, and then execute the following command: Dir contents.txt, you will see a new name named "Contexts.txt" in the file directory folder. File, open the file at this time and click Print, it is so simple.
Let's talk about the second method, which is a little more complicated. Windows XP system First we need to create a printdir.bat file. Create a new Notepad to open, and then paste the following content in.
@echo off
Dir%1/-p/o:gn "%temp%listing"
start/w notepad/p "%temp%listing"
Del "%temp%listing"
Exit
Then save the file as a text file named "Printdir.bat", save the file to the Windows System installation directory c:windows, to do this you must ensure that you have administrator privileges at this time, or you may not be able to access the Windows installation directory.
Next, open the Run window in the Windows7 Start menu and enter "%appdata%microsoftwindowssendto" to hit enter. At this point you can open the folder click the right mouse button to create a new shortcut, enter "%windir%printdir.bat" as the location of the project. Click Next to enter "Print Directory Listing" to name the shortcut.
When you're done, now you want to print a directory of folders just right-click and select "Send To" and select "Print directory List" to get it done!