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, output through a printer, etc. Paper and other recordings are also very troublesome. In the Windows 7 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. If you do this, you will find that there are many benefits.

There are two different options to help you do this:

Method one provides a solution for all file directories in a one-time print folder; method two is a longer one. A valid feature that adds an option directly 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, this You will see a new file named "contexts.txt" in the file directory folder. Open this file and click Print. It's as simple as that.

Next, let's talk about the second method. The relative method is a bit 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 text file with the file name “Printdir.bat” Save the file to C:\\Windows in the Windows installation directory. To achieve this step, you 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, and type ““%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 on 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