Add Open with to Context Menu of BAT files in Windows 10  

    Add Open with to Context Menu of BAT files in Windows 10

    Add Open with to Context Menu of BAT files in Windows 10

    How to Add or Remove Open with Context Menu to BAT files in Windows 10
    Published by
    25 Jun 2018
    Designer Media Ltd



    How to Add or Remove Open with Context Menu to BAT files in Windows 10


    A .bat file is a batch file that consists of a series of commands to be executed by the command line interpreter, stored in a plain text file.

    The Open with context menu allows you to choose an app to open the file with.

    By default, .bat files in Windows do not have "Open with" in their right click context menu. Adding "Open with" to the context menu of .bat files will make it easy for users to be able to quickly choose an app (ex: text editor) they want to open/edit the batch file with on demand.

    This tutorial will show you how to add or remove Open with to the context menu of BAT files for all users in Windows 10.

    You must be signed in as an administrator to be able to add or remove the Open with context menu for BAT files.


    EXAMPLE: Open with added to BAT context menu
    Add Open with to Context Menu of BAT files in Windows 10-bat_open_with_context_menu.png



    Here's How:

    The .reg files below are to add or remove the registry key in red below.

    HKEY_CLASSES_ROOT\batfile\shell\Open with


    1. Do step 2 (add) or step 3 (remove) below for what you would like to do.


     2. To Add "Open with" to Context Menu of BAT files

    A) Click/tap on the Download button below to download the file below, and go to step 4 below.

    Add_Open_with_to_BAT_context_menu.reg

    Download


     3. To Remove "Open with" from Context Menu of BAT files

    This is the default setting.

    A) Click/tap on the Download button below to download the file below, and go to step 4 below.

    Remove_Open_with_from_BAT_context_menu.reg

    Download

    4. Save the .reg file to your desktop.

    5. Double click/tap on the downloaded .reg file to merge it.

    6. When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

    7. You can now delete the downloaded .reg file if you like.


    That's it,
    Shawn





  1. Posts : 95
    Win10 Pro, Version 21H2 (Build 19044.1706) (14.06.2022)
       #1

    Do I understand it right that if want to see the german "Öffnen mit" in my german windows 10 context menu instead of "Open with", I have to edit the registry files and replace the word in red color in the registry key to Öffnen mit?

    There is no automatic translation, it will display this fixed text, correct?
      My Computers


  2. Posts : 16,996
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #2

    Hello @WTenNewbie,

    Do you think that this might be of use? . . .

    > How to Change Display Language in Windows 10

    I hope this helps.
      My Computer


  3. Posts : 95
    Win10 Pro, Version 21H2 (Build 19044.1706) (14.06.2022)
       #3

    Everything else will already be displayed in German.
    Only this new added entry from the used registry file appears in english as "Open with":
    Add Open with to Context Menu of BAT files in Windows 10-contextmenuopenwith.png

    In my tests it works fine, if I change the text to Öffnen mit:
    Add Open with to Context Menu of BAT files in Windows 10-contextmenuoffnenmit.png
      My Computers


 

Tutorial Categories

Add Open with to Context Menu of BAT files in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:18.
Find Us




Windows 10 Forums