Skip to main content

Add an Option to Print the Contents of a Folder

Would you like to be able to right click any folder in Explorer and print its contents? You can add this option to the context menu by following these steps:

First, you need to create a batch file called Printdir.bat. Open Notepad or another text editor and type (or cut and paste) this text:

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

Now, in the Save As dialog box, type "%windir%\Printdir.bat" (without the quotation marks) and click the Save button.
Click Start, Control Panel, Folder Options.
Click the File Types tab, and then click File Folder.
Click the Advanced button.
Click the New button.

In the Action box, type "Print Directory Listing" (without the quotation marks).

In the Application used to perform action box, type "Printdir.bat" (without the quotation marks).

Click OK in all three dialog boxes to close the dialog boxes.

You're not quite finished yet! Now you need to edit the Registry, so open your favorite Registry Editor.

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.

Now when you right click a folder, you'll see the option to Print Directory Listing. Selecting it will print the contents of the folder.

Who needs a stinking program to print a folder directory?

Comments

Popular posts from this blog

10 Great NotePad Tricks To Scare Your Friends

Most of you must be aware about a tool called notepad. It is a simple text based editor. But today I am going to discuss some cool tricks which you can perform on your computer using notepad. You can also use these tricks to scare your friends. 1.Cycle a message in your friend’s computer. Type : @ECHO off :Begin msg * Hi msg * Are you having fun? msg * I am! msg * Lets have fun together! msg * Because you have been o-w-n-e-d GOTO BEGIN Save it and... as pc.bat and send it to your friends. 2.Make Keyboard Keys Type Continuously: Type : MsgBox “stop me..! if you can” Set wshShell =wscript.CreateObject(“WScript.Shell”) do wscript.sleep 100 wshshell.sendkeys “{bs}” loop Save it as pc.vbs and send it to your friends. 3.Convey your friend a message and shut down his/ her computer. Type : @echo off msg * I don’t like you shutdown -c “Hahahah You are Doomed” -s Save it as pc.bat and send it to your friends. 4.Toggle your friend’s Caps Lock button simultaneously Type : Set wshShell =wscri...

How to use pen drive as RAM

Yes with some modified settings you can use your pen drive as a RAM 1) Connect your pen drive to your PC [pen drive should be at least 1 GB or if you having 4 GB then its better] 2) Allow PC what he is supposed to do,let system to detect pen drive. 3) After your PC finished with its detection work,you have to do some little 4) Right click on the My Computer and select the properties 5) Goto advanced and then performance setting then advanced then 6) Select pen drive and click on custom size " Check the value of space available " 7) Enter the same in the Initial and the Max columns " You just used the memory of the PenDrive as a Virtual Memory " 8) Now restart your pc and enjoy your fast and super system

Changing a users icon on the Welcome screen

Each user that is set up on your computer can associate an image that appears next to his or her name on the Welcome screen. By default, Windows will randomly select an image for you, but this selection can easily be changed. If you do not like the images that Windows has to offer, you can select any other image. The process of changing a user's image is very simple. Just perform the following steps and you will have it changed in no time: 1. Open up the user manager by clicking the Start menu and selecting Run. Then type in nusrmgr.cpland click OK.This is a shortcut to User Accounts that will save you time going to Control Panel and then clicking the User Accounts icon. 2. This will start up the New User Accounts Manager. To change a user's picture, just click the user name. 3. Then, click Change My Picture text and you will see a screen with all of the different images that are built into Windows XP. 4. If you see one you like, just select it by clicking it and then cl...