Search Tools Links Login

Right Click to Print Directory


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

and click the Save button.

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.

About this post

Posted: 2009-07-29
By: FortyPoundHead
Viewed: 1,898 times

Categories

Software Hack/Tweak

Tutorials

Windows

Windows XP

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.

ADODB.Connection error '800a0e79'

Operation is not allowed when the object is open.

/assets/inc/inc_footer.asp, line 37