Windows 8 and 8.1 Forums


Windows 8.1 .bat file glitched

  1. #1


    Posts : 19
    Windows 8 Pro

    Windows 8 .bat file glitched


    Hello, I am having a problem with .bat opening I accidently made if open with notepad and then after getting even the .reg files to merge into registry and restart it didn't do anything so i completely re-installed Windows 8.1 and and its still opening as notepad.
    Last edited by 99lool; 14 Oct 2013 at 20:36.

      My System SpecsSystem Spec

  2. #2


    Posts : 22,581
    64-bit Windows 10


    Hello 99lool, and welcome to Eight Forums.

    If you have not already, you might see if downloading and merging the .bat option in the table in the tutorial below may help. It will restore the default associations for .bat files.

    Default File Associations - Restore in Windows 8

    Hope this helps,
    Shawn
      My System SpecsSystem Spec

  3. #3


    Posts : 19
    Windows 8 Pro


    Quote Originally Posted by Brink View Post
    Hello 99lool, and welcome to Eight Forums.

    If you have not already, you might see if downloading and merging the .bat option in the table in the tutorial below may help. It will restore the default associations for .bat files.

    Default File Associations - Restore in Windows 8

    Hope this helps,
    Shawn
    I have tried this already.
      My System SpecsSystem Spec

  4. #4


    Portsmouth Hants
    Posts : 772
    Windows 8.1 Pro with Media Center


    try here:Default File Type Associations - Restore - Windows 7 Help Forums

    otherwise, rename filename.bat as filename.cmd

    It has since occurred to me that you may have file extensions hidden, and that your filename.bat is really filename.bat.txt, and therefore is not running, being a text file. in Windows Explorer, View tab, Options, View, uncheck the box by "Hide extensions for known file types"
    Last edited by fafhrd; 07 Sep 2013 at 18:08.
      My System SpecsSystem Spec

  5. #5


    Posts : 2,191
    Windows 8.1


    I'm not sure what you are trying to accomplish here but when I right-click a .bat file and select edit, it opens in NotePad; however, when I right-click and select Run as Administrator, the .bat file executes if properly constructed:

    Click image for larger version

    Click image for larger version
      My System SpecsSystem Spec

  6. #6


    Posts : 467
    Windows 8 Pro


    I'm assuming you set notepad as the default action for .bat files with this.

    run regedit

    Go to HKEY_CLASSES_ROOT in the registry.
    Search for ".bat" under this key.

    Click on this key , it should show this on the right panel.

    Click image for larger version
      My System SpecsSystem Spec

  7. #7


    Posts : 19
    Windows 8 Pro


    Quote Originally Posted by Wullail View Post
    I'm assuming you set notepad as the default action for .bat files with this.

    run regedit

    Go to HKEY_CLASSES_ROOT in the registry.
    Search for ".bat" under this key.

    Click on this key , it should show this on the right panel.

    Click image for larger version
    It shows this but it still looks like this.
    Click image for larger version
      My System SpecsSystem Spec

  8. #8


    Posts : 2,191
    Windows 8.1


    What exactly are you trying to do?

    To edit the .bat file, right-click and select edit.
    To run the .bat file, right-click and select Run as Admin.

    What else is required? Or does my above suggestion not work?
      My System SpecsSystem Spec

  9. #9


    Portsmouth Hants
    Posts : 772
    Windows 8.1 Pro with Media Center


    99lool, Hi.

    Open the dse batch file in notepad. click File, Save as...
    name the file dse1.bat
    click in the Save as type: box and select All Files (*.*)

    repeat click File, Save as...
    name the file dse2.cmd
    click in the Save as type: box and select All Files (*.*)
    repeat click File, Save as...
    name the file dse3.bat
    click in the Save as type: box and this time select Text documents (*.txt)

    click each one in turn, and see which files open as text files or run please, and get back to us with

    dse1 result run

    dse2 result run

    dse3 resultopen
    Last edited by fafhrd; 08 Sep 2013 at 09:40.
      My System SpecsSystem Spec

  10. #10


    Posts : 22,581
    64-bit Windows 10


    Quote Originally Posted by 99lool View Post
    Quote Originally Posted by Brink View Post
    Hello 99lool, and welcome to Eight Forums.

    If you have not already, you might see if downloading and merging the .bat option in the table in the tutorial below may help. It will restore the default associations for .bat files.

    Default File Associations - Restore in Windows 8

    Hope this helps,
    Shawn
    I have tried this already.
    Please try again, but make sure that you approve all the prompts from step 4 for it to work to restore the default association of .bat files.
      My System SpecsSystem Spec

Page 1 of 6 123 ... 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