Windows 8 and 8.1 Forums


Windows 8.1 .bat file glitched

  1. #41


    Sloe Deth, Californicatia
    Posts : 3,908
    Windows 8 Pro with Media Center/Windows 7


    Something is extremely wrong if you cannot set this. Try setting your UAC down to the lowest level at "Control Panel\User Accounts and Family Safety\User Accounts".

    Don't try to change the program, just remove the association to Notepad. If the Control Panel interface won't let you do it, Open Regedit and look for all instances of ".bat" and remove ONLY the references to Notepad.exe.

    As far as "Sync your Settings" goes, that has no bearing on it, I already checked.

    You should be able to take any BAT file you made and just change the extension to CMD if you simply cannot use BAT files.

    You can always try something like this:

    Advanced BAT to EXE Converter - Freeware compile batch files to exe with Mouse Input

    Pump one of your BAT files into that, and see if it makes an EXE that works.

    Actually, I just tried that with one of mine, and it made a perfectly working EXE file, so give it a try. You can even build the EXE from a BAT right in the Program.

    It's a free program but you can buy a Pro version of it.

      My System SpecsSystem Spec

  2. #42


    Sloe Deth, Californicatia
    Posts : 3,908
    Windows 8 Pro with Media Center/Windows 7


    I just realised, you are using 8.1 and I'm on 8, so there may be a Lockout on BAT files for 8.1

    There is a similar problem to this going on here:

    Unassociate A File Extensiom
      My System SpecsSystem Spec

  3. #43


    Posts : 19
    Windows 8 Pro


    Quote Originally Posted by XweAponX View Post
    I just realised, you are using 8.1 and I'm on 8, so there may be a Lockout on BAT files for 8.1

    There is a similar problem to this going on here:

    Unassociate A File Extensiom
    Sorry I forgot to mention and change that when I deleted everything and reinstalled I installed on Windows 8 Pro also I can change it to Notepad and Internet Explorer and such but not cmd.exe in System32
      My System SpecsSystem Spec

  4. #44


    Sloe Deth, Californicatia
    Posts : 3,908
    Windows 8 Pro with Media Center/Windows 7


    Thats why you will have to manually remove the Notepad association. Dont try to change it, try to remove it. Shawn may be able to create a Registry script that can do it, I asked him.

    It seems that once you set the Notepad to BAT, it cannot be changed back. You must have told it to open with Notepad "always" - You have to make sure that the "Always Open with this program" is NOT checked and then you will have and Open and an Edit for BAT. But once it's set to always open with Notepad, thats it.

    Try the "BAttoEXE" link I posted, it works well and that may solve all of this.
      My System SpecsSystem Spec

  5. #45


    Sloe Deth, Californicatia
    Posts : 3,908
    Windows 8 Pro with Media Center/Windows 7


    Ok, I'm on my Dell Precision 370 Workstation and I'm going to Break my BAT files. Hopefully I'll be able to see if it even allows me to fix it.
      My System SpecsSystem Spec

  6. #46


    Sloe Deth, Californicatia
    Posts : 3,908
    Windows 8 Pro with Media Center/Windows 7


    You are right, the registry fix does not work!

    Our apologies, ill get into this ASAP.
      My System SpecsSystem Spec

  7. #47


    Sloe Deth, Californicatia
    Posts : 3,908
    Windows 8 Pro with Media Center/Windows 7


    Alright, there are 2 and only 2 solutions. The first is to use a restore point and set your system back to the day before you fouled up the bat file. The second is to perform an in-place install.

    I don't believe that your system had BAT fouled up from the start, BAT files by default will immediately open with CMD.exe. There should never be any reason to modify what opens them, because the Defaults "Open" and "Edit" should be already set in the Context Menu.

    Be careful what programs you install, like NOTEPAD replacement apps like UUedit (UltraEdit) or the like - they WILL replace the default association without telling you. And once you change BAT to Notepad, it can NOT be changed back to CMD.exe. After any Fresh Install, Upgrade Install or In-Place install, check your BAT files before you install anything else. You won't have to do a complete reinstall, just an in-place install.

    We'll keep looking for a Reg or other fix for this, but this is System Wide for Windows 8- No other solutions for this have been found anywhere else on the net either.
    Last edited by XweAponX; 15 Oct 2013 at 19:41.
      My System SpecsSystem Spec

  8. #48


    Posts : 19
    Windows 8 Pro


    Quote Originally Posted by XweAponX View Post
    Alright, there are 2 and only 2 solutions. The first is to use a restore point and set your system back to the day before you fouled up the bat file. The second is to perform an in-place install.

    I don't believe that your system had BAT fouled up from the start, BAT files by default will immediately open with CMD.exe. There should never be any reason to modify what opens them, because the Defaults "Open" and "Edit" should be already set in the Context Menu.

    Be careful what programs you install, like NOTEPAD replacement apps like UUedit (UltraEdit) or the like - they WILL replace the default association without telling you. And once you change BAT to Notepad, it can NOT be changed back to CMD.exe. After any Fresh Install, Upgrade Install or In-Place install, check your BAT files before you install anything else. You won't have to do a complete reinstall, just an in-place install.

    We'll keep looking for a Reg or other fix for this, but this is System Wide for Windows 8- No other solutions for this have been found anywhere else on the net either.
    What is an In-place install?
      My System SpecsSystem Spec

  9. #49


    Posts : 22,581
    64-bit Windows 10


    Quote Originally Posted by 99lool View Post
    Quote Originally Posted by XweAponX View Post
    Alright, there are 2 and only 2 solutions. The first is to use a restore point and set your system back to the day before you fouled up the bat file. The second is to perform an in-place install.

    I don't believe that your system had BAT fouled up from the start, BAT files by default will immediately open with CMD.exe. There should never be any reason to modify what opens them, because the Defaults "Open" and "Edit" should be already set in the Context Menu.

    Be careful what programs you install, like NOTEPAD replacement apps like UUedit (UltraEdit) or the like - they WILL replace the default association without telling you. And once you change BAT to Notepad, it can NOT be changed back to CMD.exe. After any Fresh Install, Upgrade Install or In-Place install, check your BAT files before you install anything else. You won't have to do a complete reinstall, just an in-place install.

    We'll keep looking for a Reg or other fix for this, but this is System Wide for Windows 8- No other solutions for this have been found anywhere else on the net either.
    What is an In-place install?
    Hello 99lool,

    It would be a repair install.

    Repair Install Windows 8
      My System SpecsSystem Spec

  10. #50


    Sloe Deth, Californicatia
    Posts : 3,908
    Windows 8 Pro with Media Center/Windows 7


    I'm not gettin in to this again, if your install disk installs the OS and this issue is present from the start, then there is something very wrong with it- Download a new install disk.
      My System SpecsSystem Spec

Page 5 of 6 FirstFirst ... 3456 LastLast
Windows 8.1 .bat file glitched
Related Threads
Windows 8.1 File History File Duplication in Performance & Maintenance
Hi Gang! In Windows 8.0 File History, it had the nasty habit of duplicating your library files on your backup ( in my case, my external USB backup drive ( Replica 2 Terabyte ). :sarc: By DUPLICATING, I mean they get copied over and over and over again... This happens to ALL of them, even...
Repairing a glitched up HDD in Installation & Setup
Hello, My Wife's Laptop Hard drive went belly up. It is a "Momentus 750GB hybrid drive. I moved it to my desktop PC and ran "7-data Partition Recovery" on it. After several days and hours of work. I now have what appears to be the entire recovered HD approx 700GB of file data on an external...
Hi guys1 I'm about to create a .reg file that will set path in registry to my own icon for specific file extensions. E.g. I want my own icon as a default icon for .ini extension. And not only for one extension but for more of them, in a single .reg file. As always I don't want to mess it up,so I'm...
How to Restore Previous Versions of your Files with File History in Windows 8 and 8.1 File History is a new feature introduced in Windows 8 that automatically backs up files that are in your libraries, contacts (C:\Users\(user-name)\Contacts), Internet Explorer favorites...
Ok, I don't know how I did it but I got both Windows 7 File Recovery and Windows 8 File History active at the same time. I upgraded from Win 7 to 8 Pro and transferred settings so win 7 file recovery was already active, when I tried to turn on win 8 file recovery I got a message saying I cant...
I tried searching it on Google but didn't find anything, the backup file created in XP and Win7 is saved with .bkf file extension, I want to know the same for the file history in Windows 8, what's the extension or the files are simply saved in the same directory structure with same file...
Hey guys, please bear with me. I done messed up! I had a windows 8 partition running successfully. I now cannot boot into windows as the computer (and my linux live cd) wont recognize my main partition and it shows up as 'unallocated space'. Here is how I made this mess: -I used EaseUS partition...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook