Windows Vista Forums

Context Menu - Add View and Print File Directory

  1. #1
    <!-- google_ad_section_start -->Context Menu - Add View and Print File Directory<!-- google_ad_section_end -->

    Context Menu - Add View and Print File Directory
    How to Add View and Print File Directory to the Context Menu in Vista, Windows 7, and Windows 8
    Published by Brink is offline
    10 Apr 2008
    Context Menu - Add View and Print File Directory

    How to Add View and Print File Directory to the Context Menu in Vista, Windows 7, and Windows 8

    information   Information
    This will show you how to add View File Directory and Print File Directory in the context menu for all folders and drives. This will allow you to easily print or view a file and folder directory list when you right click on a folder and click on View File Directory or Print File Directory.

    Note   Note
    The file directory list will not include the files in a subfolder. It will only have the subfolder listed. You will need to right click on the subfolder to view or print it's file directory.

    It may take a little bit to view or print the file directory of a drive if the drive is very large with a lot of files on it.


    EXAMPLE: Folder Context Menu Before and After View and Print File Directory is Added
    Context Menu - Add View and Print File Directory-context_menu_before.jpgContext Menu - Add View and Print File Directory-context_menu_after.jpg




    OPTION ONE

    Add or Remove "Print File Directory" to the Context Menu
    1. Click on the Download button below to download the file below.
    Print_File_Directory.zip
    download
    2. Click on Save and save the ZIP file to the Desktop.

    3. Right click on the downloaded Print_File_Directory.zip and click on Open.

    4. Click on Allow in the UAC prompt.

    5. Extract (drag and drop) the Add_Print_Directory.reg, Remove_Print_Directory.reg, and printdir.bat files to the desktop.

    6. Right click on the extracted .bat file, click on Properties, click on the General tab, and unblock it.
    NOTE: If you do not see a Unblock button, then the file is already unblocked.

    7. To Add "Print File Directory" to the Context Menu
    A) Right click on the extracted and unblocked printdir.bat file and click on Copy.

    B) In Windows Explorer, navigate to C:\Windows and right click on a empty area and click on Paste. (See screenshot below)

    C) Click on Continue in the Destination Folder Access Denied prompt, and on Continue in the UAC prompt.
    Context Menu - Add View and Print File Directory-windows.jpg
    D) Right click on the extracted Add_Print_Directory.reg file and click on Merge.

    E) Click on Run, Continue (UAC), Yes, and then OK when prompted.

    F) Go to step 9.
    8. To Remove "Print File Directory" from the Context Menu
    A) In Windows Explorer, navigate to C:\Windows and right click on printdir.bat and click on Delete. (See screenshot below step 7C)

    B) Click on Continue in the Destination Folder Access Denied prompt, and on Continue in the UAC prompt.

    C) Right click on the extracted Remove_Print_Directory.reg file, and click on Merge.

    D) Click on Run, Continue (UAC), Yes, and then OK when prompted.
    9. Your done, you can now delete the downloaded ZIP and other extracted files on the Desktop if you like.

    10. When you click on Print File Directory, a file directory list for the selected folder will be sent to the printer.




    OPTION TWO

    Add or Remove "View File Directory" to the Context Menu
    1. Click on the Download button below to download the file below.
    View_File_Directory.zip
    download
    2. Click on Save and save the ZIP file to the Desktop.

    3. Right click on the downloaded View_File_Directory.zip and click on Open.

    4. Click on Allow for UAC prompt.

    5. Extract (drag and drop) the Add_View_Directory.reg, Remove_View_Directory.reg, and viewdir.bat files to the desktop.

    6. Right click on the extracted .bat file, click on Properties, click on the General tab, and unblock it.
    NOTE: If you do not see a Unblock button, then the file is already unblocked.

    7. To Add "View File Directory" to the Context Menu
    A) Right click on the extracted viewdir.bat file and click on Copy.

    B) In Windows Explorer, navigate to C:\Windows and right click on a empty area and click Paste. (See screenshot below)

    C) Click on Continue in the Destination Folder Access Denied prompt, and on Continue in the UAC prompt.
    Click image for larger version. 

Name:	Windows.jpg 
Views:	5230 
Size:	258.6 KB 
ID:	3434
    D) Right click on the extracted Add_View_Directory.reg and click on Merge.

    E) Click on Run, Continue (UAC), Yes, and then OK when prompted.

    F) Go to step 9.
    8. To Remove "View File Directory" from the Context Menu
    A) In Windows Explorer, navigate to C:\Windows and right click on viewdir.bat and click on Delete. (See screenshot below step 7C)

    B) Click on Continue in the Destination Folder Access Denied prompt, and on Continue in the UAC prompt.

    C) Right click on the downloaded Remove_View_Directory.reg file and click on Merge.

    E) Click on Run, Continue (UAC), Yes, and then OK when prompted.
    8. Your done, you can delete the ZIP and other extracted files on the Desktop if you want to.

    9. This is an example of what you see when you click on View File Directory. (See screenshot below)
    Context Menu - Add View and Print File Directory-view-results.jpg
    That's it,
    Shawn




    Related Tutorials



    Published by


    Brink's Avatar
    Administrator

    Join Date: Apr 2007
    Location: Texas, USA
    Posts: 31,239
    Array

    Tutorial Tools


    Applies to

    All Vista Versions,Windows 7,Windows 8
    64 Bit & 32 Bit


  2.   


  3. #1



    Newbie
    Join Date : Nov 2011
    Posts : 1
    Vista, home premium, 64 bit
    Local Time: 07:58 AM

    Re: Context Menu - Add View and Print File Directory

    I tried both methods mentioned above, when i try to activate either one i get a error message "application not found" I installed everything as to speck abov. I have the file list i'm trying to print on an external hard drive name "M" does this afect to program from printing properly? Its just a list of my music files Im trying to print.

      My System SpecsSystem Spec

  4.   


  5. #2
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,239
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 08:58 AM
    usa us texas

      Thread Starter

    Re: Context Menu - Add View and Print File Directory

    Hello Duke, and welcome to Vista Forums.

    Double check to make sure that you unblocked and moved the extracted .bat file from the downloaded ZIP file into your C:\Windows folder.

      My System SpecsSystem Spec

  6. #3



    Newbie
    Join Date : Jun 2012
    Posts : 2
    Windows Vista Home Premium SP2
    Local Time: 04:58 PM


     

    Re: Context Menu - Add View and Print File Directory

    Hello,
    I've done everything that's listed, but when I click "View File Directory" on a hard drive, only an empty cmd window pops out, and nothing else, even though it works fine with folders in hard drives, etc.
    Any suggestions?

    John.

      My System SpecsSystem Spec

  7. #4
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,239
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 08:58 AM
    usa us texas

      Thread Starter

    Re: Context Menu - Add View and Print File Directory

    Hello John, and welcome to Vista Forums.

    It would be normal for a empty command window to show until the report is finished collecting and opens Notepad to view the file directory list. The more files you have one the HDD, the longer it will take until it's finished. If you let it sit, then it should finish. If not, please let me know.

      My System SpecsSystem Spec

  8. #5



    Newbie
    Join Date : Jun 2012
    Posts : 2
    Windows Vista Home Premium SP2
    Local Time: 04:58 PM


     

    Re: Context Menu - Add View and Print File Directory

    It did pop out eventually.
    I was a little confused because when I tryed to reach the same result through the cmd it made a .txt file instantly, so I thought it should do the same thing here.
    Thank you!!

      My System SpecsSystem Spec

  9. #6
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,239
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 08:58 AM
    usa us texas

      Thread Starter

    Re: Context Menu - Add View and Print File Directory

    You're welcome.

    Yeah, for just on a folder or file, it would be just about instantly. It's just that a drive may take longer depending on how many files it contains.

    If you did this manually in a command prompt for the same drive and it was instant, then I'm not sure why there would be a difference in time since the context menu from here runs it the same way.

      My System SpecsSystem Spec

  10. #7


    Join Date : Jan 2013
    Posts : 1
    Windows 7
    Local Time: 07:58 AM


     

    Re: Context Menu - Add View and Print File Directory

    I installed everything as described and the option appears in the context menu to View File Directory. However, when I select it in the context menu, I get an error message showing the directory path and the message: "Application not found." When I open the "Run..." dialog box on the Start Menu and manually type in the line

    dir %1 /s /o:gn > "%temp%\Listing"

    I get an error message saying "Windows cannot find 'dir'. However, I can run the batch file by itself just fine and if I open an MS-DOS Command prompt window and type in each line then it also works.

    Is there perhaps something wrong with the install of Windows that it cannot find the 'dir' command from the "Run..." dialog box?

    Using: Windows 7 Professional.

      My System SpecsSystem Spec

  11. #8
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,239
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 08:58 AM
    usa us texas

      Thread Starter

    Re: Context Menu - Add View and Print File Directory

    Hello Thursten4Moore, and welcome to Vista Forums.

    The command cannot be ran separately. It's designed to only work in the context menu instead.

    Double check to make sure that you copied the unblocked viewdir.bat file into your C:\Windows folder.

      My System SpecsSystem Spec


Context Menu - Add View and Print File Directory
Similar Threads
Tutorial Category
Print on the Context Menu Vista General
New Menu - Context and File Tutorials
unable to print/view pictures - prints directory instead Vista print fax & scan
New Text File - Context Menu Vista General
File associations - open with - context menu Vista file management