Method of adding print directory in Windows 7 system

  
The high performance and high efficiency of Microsoft Windows 7 not only won wide acclaim from ordinary users, but also been widely recognized by many office workers. Sometimes you will find that when you need to print all the file directories in a folder, it is more troublesome to operate, and the text teaches you a trick. In the Windows 7 operating system, you can make this printing job easier with a little change. It takes a little time to implement this function, but if you often have to print the file, then you will find a lot of benefits. .
There are two different options to help you do this. Method one provides a solution for printing all the file directories of the folder at one time; and method two is a more long-lasting function, adding an option directly to the right mouse button menu to perform this operation.
First, let's see how the first method works. The first thing you need to do is open the command prompt manager, then navigate to the folder where you want to list the file directory or the absolute path, then execute the following command: dir " contents.txt", then you will see A file named “ldtexts.txt” is added to the file directory folder. Open this file and click Print. It is as simple as this.
The next step is to talk about the second method. The relative method is slightly more complicated. Windows xp system First we need to create a Printdir.bat file. Create a new notepad to open, then paste the following into it.
@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 file named "Printdir.bat", save the file to the C:Windows installation directory of the Windows system. To achieve this step, you must ensure that At this point you have administrator privileges, otherwise you may not be able to access the Windows installation directory.
Next, open the "Run" window in the windows7 start menu, enter "“%APPDATA%MicROSoftWindowsSendTo” hit enter. At this point you can open the folder and right click to create a shortcut, enter “%windir%Printdir.bat” as the location of the project. Click Next to enter “Print Directory Listing"; name the shortcut.
After completing the above operation, you only need to right-click the directory where you want to print a folder, then select “Send to ”, then select “Print Directory List”Get it right away!

Copyright © Windows knowledge All Rights Reserved