Windows 10: Can't run .bat files

Discus and support Can't run .bat files in Windows 10 Support to solve the problem; I haven't run a .bat file in quite a while, so perhaps I unknowingly did something along the was that prompted this problem. I was trying to run Brinks... Discussion in 'Windows 10 Support' started by kitpzyxmsir, Aug 15, 2021.

  1. Can't run .bat files


    I haven't run a .bat file in quite a while, so perhaps I unknowingly did something along the was that prompted this problem. I was trying to run Brinks "Reset_Notification_Area_Icons_Cache.bat", but instead the file opens in my text editor. I disassociated .bat in that text editor, but "Reset_Notification_Area_Icons_Cache.bat" still opens in the text editor. I restarted the OS, but that didn't help. I then tested it on "Turn_Off_Fast_Startup.bat", but I got this Regardless of that, my default files settings shows my text editor as the .bat default. I have 2 related registry items [HKEY_USERS\S-1-5-21-3685327979-1050741526-3367000972-1001\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts] "Applications\\NoteTab.exe_.bat"=dword:00000000 [HKEY_USERS\S-1-5-21-3685327979-1050741526-3367000972-1001\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.bat\UserChoice] "ProgId"="Applications\\NoteTab.exe" If I recall correctly, I had a similar problem in the past with .reg files. I believe It was solved by dissociating .reg files the same way, and adding "edit" to the .reg files context menu, but I don't know exactly how to go about it in this situation.

    :)
     
    kitpzyxmsir, Aug 15, 2021
    #1

  2. .bat file

    First things first: What is the contents of the batch file?

    Second step: What do you see when you run the batch file from a Command Prompt (cmd.exe)?
     
    Frederik Long, Aug 15, 2021
    #2
  3. Updating .bat File, Removing Default Apps

    Hi SightUp.

    Don't have a bat file but step 4 in Option 2 will give you complete list and you can mod yours.

    Uninstall Apps in Windows 10


    Ken
     
    Caledon Ken, Aug 15, 2021
    #3
  4. sc00VN Win User

    Can't run .bat files

    .bat file

    A batch file (.bat extension) is basically a series of commands to be executed by the command-line interpreter. When you open the file, your system runs every command stored in the file from top to bottom, once the final command has been executed, it closes
    itself indicating it has finished its job. However, everything happens so fast you think it closes immediately and that's completely normal.

    If you want the command-line interpreter window to remains open once the last command has been executed, I suggest you do the following:

    - Right click on the .bat file and click on the 'edit' button.

    - It will open a notepad displaying a series of commands.

    - Create a new line by hitting enter after the final text and type in 'pause' without quotes.

    - Save the file and run it. This time the window will remain open.
     
    sc00VN, Aug 15, 2021
    #4
Thema:

Can't run .bat files

Loading...
  1. Can't run .bat files - Similar Threads - Can't run bat

  2. Run bat on opening?

    in Windows 10 Ask Insider
    Run bat on opening?: Is it possible to tell windows to automatically run a bat file when opening? Ty submitted by /u/Rick_S_meme_Pirate [link] [comments] https://www.reddit.com/r/Windows10/comments/m2a2g5/run_bat_on_opening/
  3. Can't open my .bat file

    in Windows 10 Network and Sharing
    Can't open my .bat file: I have Windows 10 activited. [ATTACH] https://answers.microsoft.com/en-us/windows/forum/all/cant-open-my-bat-file/6c150e51-173d-4cc0-a804-f957ececbeb5
  4. Can't open .bat files

    in Windows 10 Ask Insider
    Can't open .bat files: I want to open a .bat file. I double click on it, it appears on the screen in less then 1 second and then it disappears. What can I do? submitted by /u/Dieghito03 [link] [comments] https://www.reddit.com/r/Windows10/comments/fl7csj/cant_open_bat_files/
  5. How to run a .bat file as administrator in startup?

    in Windows 10 Support
    How to run a .bat file as administrator in startup?: Hello. As BitDefender as an ongoing error, I want to run a small "bdfix.bat" at login time. But this .bat file MUST be run as an administrator to work. How do I do that? *Redface 120997
  6. Run a .bat file as Admin During Startup

    in Windows 10 Customization
    Run a .bat file as Admin During Startup: Hello, I have a batch file that executes certain commands and one of these commands requires admin privilege. When I place this file in the startup folder the command fails. Right clicking on it and setting it to run as admin doesn't work. I am told scripts can be...
  7. Bat Files Won't Run?

    in Windows 10 Gaming
    Bat Files Won't Run?: Basically I'm installing BattlEye for a Steam game and I click the .bat file in the game's subfolder to download it (when I was prompted to download it I clicked no but now I practically need it for most servers), and I download the .bat from the main website and it also...
  8. Suddenly can't run bat files as administrator

    in Windows 10 Support
    Suddenly can't run bat files as administrator: New, weird, behavior -- If I right click on a bat file, and Run as Administrator, all I get is a brief flash (perhaps a command window?). Just double clicking on it runs as expected (though not elevated, which is what I need). If I open an elevated command window and run...
  9. Trouble running .bat files

    in Windows 10 Support
    Trouble running .bat files: Hi, I'm trying to run .bat files on Windows 10, but it tells me that "This app can't run on your PC". It doesn't matter what I use it for, .bat files just won't run anyway. Are .bat files no longer supported? (ran fine on Windows 7) Any workarounds? I'm no expert on...
  10. Can't Run .Bat Files

    in Windows 10 Support
    Can't Run .Bat Files: I try to run .bat files and the just run in note pad. There is no "open with" option. 48199