Add Batch File to New Context Menu in Windows 10  

Page 1 of 2 12 LastLast
    Add Batch File to New Context Menu in Windows 10

    Add Batch File to New Context Menu in Windows 10

    How to Add Windows Batch File to New Context Menu in Windows 10
    Published by Category: Customization
    30 May 2020
    Designer Media Ltd

    How to Add Windows Batch File to New Context Menu 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 New context menu allows users to quickly create new files, folders, and shortcuts. You can right click or press and hold on your desktop or in any folder window, and click/tap on New to open the New context menu.

    By default, Windows Batch File is not in the New click context menu. Adding "Windows Batch File" to the New context menu will make it easy for users to be able to quickly create a new batch file on demand ready to be edited afterwards.

    This tutorial will show you how to add or remove Windows Batch File to the New context menu for all users in Windows 10.

    You must be signed in as an administrator to be able to add or remove "Windows Batch File" from the New context menu.


    EXAMPLE: Windows Batch File added to New context menu
    Add Batch File to New Context Menu in Windows 10-bat_in_new_context_menu.png



    Here's How:

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


    2 To Add "Windows Batch File" to New Context Menu

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

    Add_BAT_to_New_context_menu.reg

    Download


    3 To Remove "Windows Batch File" from New Context Menu

    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_BAT_from_New_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 Sometimes it may take a moment before this New context menu item is actually added or removed. If not, then restart the computer to apply.

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


    That's it,
    Shawn






  1. Posts : 481
    Windows 10 pro 1903 1862.145
       #1

    Shawn, I installed the "Batch File" as you recommended and it works fine. I was hoping to learn from it some method for removing dead options from the context menu as mine is getting longer. Apparently, uninstalling a program (such as MS Office) does not alter the New menu. I looked up some active entries on the menu (such as PlanMaker Document .pmd) and they do not have a similar structure. Can you suggest a method for removing the deadwood?
      My Computer


  2. Posts : 69,272
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #2

    Hello Bob, :)

    The two free programs below are good to use to edit the context menu with.

    ShellMenuView - Disable/enable context menu items of Explorer

    http://www.nirsoft.net/utils/shexview.html
      My Computers


  3. Posts : 481
    Windows 10 pro 1903 1862.145
       #3

    Thanks, Brink. I should have thought of Shexview. I'll check out ShellMenuView.
      My Computer


  4. Posts : 69,272
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #4

    You're welcome. I hope it'll do the trick for you.
      My Computers


  5. Posts : 7
    Windows 10
       #5

    Shawn,
    I followed your instructions to add the batch file to my menu but it didn't work. I even rebooted my computer and still don't see it. Any additional info or ideas you can offer to help get this working is appreciated. Please let me know if you have any questions or need additional information.

    OS: MS Windows 10 Pro
    Version: 10.0.17134 Build 17134

    Thank you.
      My Computer


  6. Posts : 69,272
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #6

    Hello technomag, and welcome to Ten Forums.

    Just to confirm, were you signed in to an administrator account when you merged the .reg file?
      My Computers


  7. Posts : 7
    Windows 10
       #7

    yes sir.
      My Computer


  8. Posts : 69,272
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #8

    I just tested on my W10 v1803 system to see if anything may have changed, but it still works for me.

    Double check to verify if the registry key and string value below is in your registry. This is what the .reg file adds.

    Code:
    [HKEY_CLASSES_ROOT\.bat\ShellNew]
    "NullFile"=""

    If the registry key is there, then let's see a screenshot of your New context menu to see if anything stands out.
      My Computers


  9. Posts : 7
    Windows 10
       #9

    The entry you posted does not exist in my registry file. Add Batch File to New Context Menu in Windows 10-registry.jpg but I know that I merged your file with mine.
      My Computer


 

Tutorial Categories

Add Batch File to New Context Menu 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 19:10.
Find Us




Windows 10 Forums