How to add a print directory under Windows7? Two ways to easily get it

  
To complete the entire print job, it is not a simple matter, and it requires a lot of preparation work to complete. The whole process of printing is not simple data such as text or pictures in a computer or other electronic device, and output on paper or the like through a printer or the like. In fact, it is very troublesome. In the windows7 operating system, you can make this printing work easier with a little change. It takes a little time to implement this function, but if you often have to print files, then After doing this, you will find a lot of benefits.
There are two different options to help you do this:
Method 1 provides a solution for all file directories in a one-time print folder; and Method 2 is a more long-lasting feature, directly at An option has been added to the right mouse button menu to do this.
First, let's see how the first method works.
The first thing you need to do is open the command prompt manager, then locate the folder or absolute path of the file directory you want to list, and then execute the following command: dir> contents.txt, then you will You can see that a file named “"contexts.txt” has been added to the file directory folder. Open this file and click Print. It is as simple as that.
The next step is to talk about the second method. The relative method is slightly more complicated.
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 directory of the Windows system, to be implemented This step must ensure that you have administrator privileges at this time, otherwise you may not be able to access the Windows installation directory.
Next, open the "Run" window in the windows7 start menu, enter "“%APPDATA%\\MicROSoft\\Windows\\SendTo” hit enter. At this point you can open the folder and right click to create a new 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