Print directory contents

Open notepad and add the following content:

@echo off
dir %1 /-p /o:gn > “%temp%Listing”
start /w notepad /p “%temp%Listing”
del “%temp%Listing”
Exit

Now, save the file as printdir.bat in your windows directory
Make sure it is saved as a bat file and not a text file!

Open My Computer and choose tools, folder options
Select the File Types TAB
In the File Types column select the item called File Folder
Click on the advanced button, then new
Under action type Print Directory Listing
Now, browse and select printdir.bat in your windows directory and click OK

From now on, when you right click with your mouse on a folder in WinXP you will be able to print the directory contents.

Print Friendly, PDF & Email

More Like This


Categories


Win 7 / 10 Tips & Tricks XP Tips & Tricks

Tags


  • Post a comment