Windows 10: How to unset "open with" context menu for .CMD files

Discus and support How to unset "open with" context menu for .CMD files in Windows 10 Software and Apps to solve the problem; Had a problem with virus scanner change and lost ability to double click .bat and .cmd files in file explorer. was able to find fix for batch files.... Discussion in 'Windows 10 Software and Apps' started by Stanley Moody, Mar 22, 2025.

  1. How to unset "open with" context menu for .CMD files


    Had a problem with virus scanner change and lost ability to double click .bat and .cmd files in file explorer. was able to find fix for batch files. https://answers.microsoft.com/en-us/windows/forum/all/how-to-unset-default-app-for-batch-files-cmd-files/6babd3b8-66b8-4300-a85c-0b5dd7944fec worked for batch files, but can not find fix for .CMD files. Context menu shows "open" for .BAT files, but shows "Open with" for .CMD files.I have tried to set open with to c:\windows\system32\cmd.exe, but get "cannot associate file type with this program".Have used DISM and SFC without luck and .cmd is

    :)
     
    Stanley Moody, Mar 22, 2025
    #1

  2. Custom context menu entries

    So, just throwing this out there, in case somone knows.

    I have added a custom context menu entry for the program rightload, since by default the menu is broken in vistax64.

    It works pefect with single files, but when I select mutiple files and try to open, I get mutiple instances of the program (which makes sense), here is my entry:

    C:\Program Files (x86)\Rightload\Rightload.exe --server=1 --autostart %1

    So the %1 passes the filename to the program, and when I select multiple files it is just opening multiple instances of rightload each with a different file.

    What I'd like to do is be able to pass a list of the files selected to the program. Since I know it is capable of uploading multiple files from the context menu, all in one instance.

    So, is there something I can pass besides %1 that will do this? I have looked around and can't seem to find an answer anywhere... *Frown How to unset "open with" context menu for .CMD files :(
     
    ArmoredCavalry, Mar 22, 2025
    #2
  3. Context Menu - Open With (Windows Suggested List)

    OS: Windows 10 Pro x64 22H2 Diagram 'A' shows Windows' suggested programs Diagram 'B' shows the extended list I have been trying to edit the context menu's "Open with" list of Windows' suggested programs for the .mp3 extension. I'm not talking about the extended list, but rather the programs that first appear 'before' the "choose another app" option. If you look at Diagram 'A' you will see the preliminary list generated by Windows, this is the list I am looking to modify. I have an .mp3 editor named Goldwave that I use for editing audio files, however, I do not want to change the preliminary program Windows uses to open .mp3s. My .mp3s should remain assigned to Winamp Player. Any help would be greatly appreciated.
    How to unset "open with" context menu for .CMD files 377543d1666238917t-context-menu-open-windows-suggested-list-.png

    How to unset "open with" context menu for .CMD files 377544d1666238917t-context-menu-open-windows-suggested-list-b.png
     
    Bandit012345, Mar 22, 2025
    #3
  4. dalchina Win User

    How to unset "open with" context menu for .CMD files

    Context Menu - Open With (Windows Suggested List)

    Well.. have a look at this:
    How to unset "open with" context menu for .CMD files 377575d1666287089t-context-menu-open-windows-suggested-list-gw-done.png
    I took a risk. I've set a System Restore point then installed Gold Wave. It was not present in that Open With list. I used the Default Programs Editor:
    How to unset "open with" context menu for .CMD files 377576d1666287156t-context-menu-open-windows-suggested-list-gw1.jpg
    Did you click Save...? You should have seen:
    How to unset "open with" context menu for .CMD files 377577d1666287188t-context-menu-open-windows-suggested-list-gw2.jpg
    Note: if you are running as a standard user you may need to run it as admin, if it doesn't offer a UAC prompt.
    How to unset "open with" context menu for .CMD files 377578d1666287451t-context-menu-open-windows-suggested-list-1.jpg
    - opened via Open With as above.
     
    dalchina, Mar 22, 2025
    #4
Thema:

How to unset "open with" context menu for .CMD files

Loading...
  1. How to unset "open with" context menu for .CMD files - Similar Threads - unset open context

  2. How to unset "open with" context menu for .CMD files

    in Windows 10 Gaming
    How to unset "open with" context menu for .CMD files: Had a problem with virus scanner change and lost ability to double click .bat and .cmd files in file explorer. was able to find fix for batch files....
  3. How to unset default app for Batch Files, cmd files, etc for Windows 11

    in Windows 10 Gaming
    How to unset default app for Batch Files, cmd files, etc for Windows 11: After upgrading to Windows 11, all my batch, cmd files etc suddenly open with Notepad, instead of running.I already saw this reg for bat files:...
  4. How to unset default app for Batch Files, cmd files, etc for Windows 11

    in Windows 10 Software and Apps
    How to unset default app for Batch Files, cmd files, etc for Windows 11: After upgrading to Windows 11, all my batch, cmd files etc suddenly open with Notepad, instead of running.I already saw this reg for bat files:...
  5. 'Open With' in context menu crashes File Explorer

    in Windows 10 Ask Insider
    'Open With' in context menu crashes File Explorer: I have also lost all thumbnail previews for images. I have tried a bunch of things i found on the internet but none have worked. I did recently uninstall a few programs i no longer use. One of them caused an error preventing me from doing a system restore. I reinstalled the...
  6. Windows Context Menu Not Opening

    in Windows 10 Customization
    Windows Context Menu Not Opening: Hey Anyone, WHEN I RIGHT CLICK ON TASKBAR AND SELECT TASKBAR SETTING IT DOES NOT OPEN SETTING ELSE IT FLASHES COMMAND PROMPT LIKE SOMETHING WHICH JUST POPS UP AND CLOSE AND NOTHING HAPPENS... THE SAME PROBLEM ALSO OCCUR WHEN I RIGHT CLICK ON DESKTOP AND SELECT DESKTOP...
  7. Add option to context menu to open file type

    in Windows 10 Support
    Add option to context menu to open file type: By default, Windows will open a MIDI file with Windows Media Player on double-click. This is fine. However, I'd like to add the option to open MIDI files to the context menu (right click). As it is, to open a MIDI file with MuseScore (my current preferred software), I have...
  8. context menu 'open' video

    in Windows 10 Performance & Maintenance
    context menu 'open' video: When i right click on a video and select open my video opens in windows media player. I would like to edit the open value in the registry so it opens in another program. Can anyone point me in the right direction as to where this 'open' value would be. I have found 'open...
  9. open with notepad context menu

    in Windows 10 Customization
    open with notepad context menu: Code: ;notepad [HKEY_CLASSES_ROOT\*\shell] @="\"notepad.exe %1\"" [HKEY_CLASSES_ROOT\*\shell\open] @="Open &With Notepad" [HKEY_CLASSES_ROOT\*\shell\open\command] @="notepad.exe %1"[/quote] the above dont seem to give me open with notepad in context menu unlike in win7. any...
  10. How to fix 'Open with' on file context menu.

    in Windows 10 Support
    How to fix 'Open with' on file context menu.: I have a few file extensions where the 'Open with' option is not working. When I right click on these extensions I get an 'Open with' option with an arrow that just produces another 'Open with' instead of a list of other programs that can open the particular file extension....