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. Can't execute .bat files.

    in Windows 10 Gaming
    Can't execute .bat files.: As you can see on this video i can't execute bat files. Can someone help me how can i fix it ? Im using windows 11.https://gifyu.com/image/SnaYY https://answers.microsoft.com/en-us/windows/forum/all/cant-execute-bat-files/8cd724f5-a004-48c6-a8a1-37729c652e48
  3. Can't execute .bat files.

    in Windows 10 Software and Apps
    Can't execute .bat files.: As you can see on this video i can't execute bat files. Can someone help me how can i fix it ? Im using windows 11.https://gifyu.com/image/SnaYY https://answers.microsoft.com/en-us/windows/forum/all/cant-execute-bat-files/8cd724f5-a004-48c6-a8a1-37729c652e48
  4. Bat or Cmd file not running at login

    in Windows 10 Software and Apps
    Bat or Cmd file not running at login: This should be an easy one. Created a net use map drive batch file, also as a cmd. Either one not both, just as a troubleshooting step. File is located on my desktop and if I double click on it, either one it executes as expected and maps the drives. 1st approach was a...
  5. Is it safe to run this bat file?

    in AntiVirus, Firewalls and System Security
    Is it safe to run this bat file?: Spo I was wondering how to get sandbox on windows 10 home and I came across this forum saying that I could run this bat file to try and install it.Enable Windows Sandbox Feature in Windows 10 Home Edition Tutorials tenforums.comThe bat file I downloaded was not blocked by...
  6. 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/
  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