Computer Problems? Call Toll Free @ 1 877 316 9417
Troubleshoot all your computer problems with certified tech experts, Call Today!


How to add Print Directory feature for folders in Windows 7 and Windows Vista

The Print Directory add-on feature for Windows allows you to view and print the contents of folders, including files and sub-folders. The feature is not enabled by default in Windows operating systems.

The solution to the problem

Follow the instructions to add Print Directory feature for folders in Windows 7 and Windows Vista.

  1. 1

    Click ‘Start’ and then click ‘Run’.

  2. 2

    Type ‘Notepad’ and then press ‘Enter’.

  3. 3

    Copy & Paste the following text:

  4. 4
  5. 5

    “@echo off

  6. 6

    dir %1 /-p /o:gn > ‘%temp%Listing’

  7. 7

    start /w notepad /p ‘%temp%Listing’

  8. 8

    del ‘%temp%Listing’

  9. 9


  10. 10

    Click ‘File’ and then click ‘Save As’.

  11. 11

    On the ‘Save’ dialog box type ‘%windir%Printdir.bat’ and then click ‘Save’ button.

  12. 12

    Click ‘Start’ and then click ‘Start Search’.

  13. 13

    Type ‘Regedit’ and then click ‘Enter’.

  14. 14

    Locate the key:’HKEY_CLASSES_ROOTDirectoryshell’

  15. 15

    On the ‘Edit’ menu, click ‘New’ and then click ‘Key’.

  16. 16

    Type ‘Print Directory Listing’ and then press ‘Enter’.

  17. 17

    Select ‘Print Directory Listing’ and then click ‘New’ on the ‘Edit’ menu.

  18. 18

    Click ‘Key’, type command for the name of the new subkey and then press ‘Enter’.

  19. 19

    Double click the default entry that is listed in the ‘command’ subkey.

  20. 20

    In the Value data box, type “Printdir.bat %1”.

  21. 21

    Close the Registry Editor.

  22. 22

    Restart the computer.


Some of the sections contains steps that tell you how to change the registry values. However, serious problems might occur if you change the registry values incorrectly.

Leave a Reply