Two ways to set up Windows 7 to add a print directory

  

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 print 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”

Copyright © Windows knowledge All Rights Reserved