Windows 10: How to unset default app for Batch Files

Discus and support How to unset default app for Batch Files in Windows 10 Gaming to solve the problem; I have inadvertently set a default app Notepad++ for batch files. The fix suggested... Discussion in 'Windows 10 Gaming' started by Rick_265, Dec 11, 2021.

  1. Rick_265 Win User

    How to unset default app for Batch Files


    I have inadvertently set a default app Notepad++ for batch files. The fix suggested by:https://answers.microsoft.com/en-us/windows/forum/all/how-to-unsetremove-a-default-app-for-file-type/15f2bf57-aa96-493a-b648-c81856af5eb3does not work as the "Open with..." option is not available for excecutable files. I tried the registry. there were a few keys that associated Notepad++ and .bat filetypes but I guess there is another superior location. Now that I have written this wonderful batch file it would be nice to use it! Can anybody help me or is this a clean install job?

    :)
     
    Rick_265, Dec 11, 2021
    #1
  2. Bree Win User

    How to change default app for file type

    'Open With > Choose another app' has three step, in the first it only offers apps registered for that file type. If you click 'More apps' it lists all registered apps regardless of suitability. Both these steps have the tick-box for 'Always use...' in my 18363.752. The third step, if needed, is 'Look for another app on this PC'. The 'Always use...' must be ticked before taking this step if you want the change to stick. However, WMP appears at the second step.


    How to unset default app for Batch Files [​IMG]


    For a quick look at a JPG almost anything (including WMP) is more practical than Photos which on my system takes more than ten seconds just to open a photo. The OP is probably not aware that the Windows Photo Viewer is still available in W10, but hidden away. That's my default viewer for JPG.


    Restore Windows Photo Viewer in Windows 10

    And, once enabled, is available in Settings > Apps > Default apps.


    How to unset default app for Batch Files [​IMG]
     
  3. oily_17 Win User
    Batch Files Knowledge Base

    Don't use batch files very much but one I find useful is for creating a list of files in a directory.
    Just copy the text below into Notepad and save as Filelist.bat

    dir /a /-p /o:gen >filelist.txt

    When you run it from a folder it will create a Filelist.txt file,in the same folder, that lists all the files in that folder.Useful when you are too lazy to type all the files out yourself.
     
    oily_17, Dec 11, 2021
    #3
  4. How to unset default app for Batch Files

    Batch Files Knowledge Base

    Very nice and usefull thanks for contributing.
     
    AphexDreamer, Dec 11, 2021
    #4
Thema:

How to unset default app for Batch Files

Loading...
  1. How to unset default app for Batch Files - Similar Threads - unset default app

  2. How to UNSET/REMOVE a default app for file type?

    in Windows 10 Ask Insider
    How to UNSET/REMOVE a default app for file type?: I don't want to change it, I want to remove it COMPLETELY. I accidentally changed my .7z file to open with Internet Explorer. So any game file I download opens with Internet Explorer (I wanna sob lol). I WOULD LIKE THAT TO BE RESET BACK TO NONE. So far there haven't been any...
  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. How to UNSET/REMOVE a default app for link type

    in Windows 10 Gaming
    How to UNSET/REMOVE a default app for link type: For example when I open t.me/{xxx} in web browser, it will show a popup that ask me to open Telegram Desktop. When I check in "Settings > Apps > Default apps > Choose defaults by link type", I don't see a way to remove the default app. The same thing happened when open...
  6. How to UNSET/REMOVE a default app for link type

    in Windows 10 Software and Apps
    How to UNSET/REMOVE a default app for link type: For example when I open t.me/{xxx} in web browser, it will show a popup that ask me to open Telegram Desktop. When I check in "Settings > Apps > Default apps > Choose defaults by link type", I don't see a way to remove the default app. The same thing happened when open...
  7. How to UNSET/REMOVE a default app for link type

    in Windows 10 Customization
    How to UNSET/REMOVE a default app for link type: For example when I open t.me/{xxx} in web browser, it will show a popup that ask me to open Telegram Desktop. When I check in "Settings > Apps > Default apps > Choose defaults by link type", I don't see a way to remove the default app. The same thing happened when open...
  8. How to unset default app for Batch Files

    in Windows 10 Software and Apps
    How to unset default app for Batch Files: I have inadvertently set a default app Notepad++ for batch files. The fix suggested by:https://answers.microsoft.com/en-us/windows/forum/all/how-to-unsetremove-a-default-app-for-file-type/15f2bf57-aa96-493a-b648-c81856af5eb3does not work as the "Open with..." option is not...
  9. How to unset default app for Batch Files

    in Windows 10 Network and Sharing
    How to unset default app for Batch Files: I have inadvertently set a default app Notepad++ for batch files. The fix suggested by:https://answers.microsoft.com/en-us/windows/forum/all/how-to-unsetremove-a-default-app-for-file-type/15f2bf57-aa96-493a-b648-c81856af5eb3does not work as the "Open with..." option is not...
  10. How to Choose Batch file for Windows 10 (Settings) Default apps-> File

    in Windows 10 Software and Apps
    How to Choose Batch file for Windows 10 (Settings) Default apps-> File: How to change default app to choose a Batch file instead of a Microsoft Store App? If Outlook Attachment (heavy Excel file in my situation) can open with command line switches, it will be separate instance from existing Documents. This improve freezing of existing Documents...