How to Add an Option to Print the Contents of a Folder Without Using any Software - My Tech Lab

8 May 2015

How to Add an Option to Print the Contents of a Folder Without Using any Software

How_to_Add_an_Option_to_Print_the_Contents_of_a_Folder_Without_Using_any_Software

When it comes to printing the content of a folder on the computer, there is no option provide in the context menu when you right click on them. To do this you have to open the folder and print its content one after the other by right clicking on each of them. This can be quite stressful right? and is obviously time consuming.

Well, There is always a better and smarter way of doing things. How about you creating your own print option inside the context menu when you right click on the folder itself without having to open it.
In this post am gonna show you how to do just that so you will have the option to print the content of a folder straight-away.

Read Also; How To Show Hidden Files & Folders In Windows

How to Add an Option to Print the Contents of a Folder

Before you proceed, you need a batch file. You can create one by opening notepad. Copy & paste the text blow into notepad.


@echo off
dir %1 /-p /o:gn > "%temp%\Listing"
start /w notepad /p "%temp%\Listing"
del "%temp%\Listing"
exit

Now save the notepad file with this name %windir%\Printdir.bat and click on the save button to save the newly created notepad (batch file).

  • Click Start>>>Control>>>Panel>>>Folder Options.
  • Click the File Types tab, and then click File Folder. 
  • Now head to the Advanced button. and click the New button. In the Action box, type Print Directory Listing. Also type Printdir.bat in the Application used to perform action box and click OK to close all dialogue boxes.
Now open the registry editor. If you don't know how, follow the steps below;
  1. Open the Run box with the keyboard combination Windows key + r
  2. In the Run line, enter “regedit” (without quotes)
  3. Click “OK”
  4. “Yes” to User Account Control (Windows Vista/7/8
Navigate to HKEY CLASSES ROOT\Directory\shell.

Right click on "default" and select Modify.
In the File Data box, type "none" (without the quotation marks).

Click OK and close the Registry Editor.

That's it! the "Print" option should now appear in the context menu when you right click on a folder.

Please leave a comment bellow after reading this post to help my cause of
contributing my quota to the internet community.

Join our Facebook Page Here
 

Tags: Android, Tutorials, I.T News, Phone Tips, Reviews, Computer tricks, Security






No comments:

Post a Comment

Let's Hear From You Here
Your Comments, Views and questions are warmly welcome.

Join Us On Facebook