Issue with .exe and Command Prompt


  1. Posts : 2
    Windows 7 Home Premium 64bit
       #1

    .exe Files replaced by something else, Command Prompt doesn't work.


    Ok, I've done something completely terrible, changed all of my .exe files into something else (By accident, I'm gifted). I was trying to open a .exe file to modify it to allocate more memory to it, Minecraft, and didn't have the right program, it was Java SDK apparently, but could only find Java JDK upon searching, and now no programs will open, or rather, they will open, but through the path that I accidentally changed it to. Which happens to be the command prompt currently, and before it was notepad, and before it was JDK Development tools (I didn't know what was happening, so kept changing it) (And command prompt was broken before I changed programs to open through it. I must stress though, this isn't a virus, this is my own stupid mistake.

    To get internet to open (to post this), I had to find a file my computer didn't recognize, and try to open it, prompting me to see if I wanted to search the internet for it, and voila, I got this open.

    If there is anyone, who may have an knowledge of how to fix this problem, without using command prompt, a .exe program (regedit is un-openable as well), if you could enlighten me I would be most grateful.

    If you need screenshots of anything I will be happy to take some and get them here.

    Edit: I've also tried copying the regedit program from another computer to this one via flash drive but it lost it's .exe upon opening on my computer.

    Thanks - Hastings
    Last edited by Hastings95; 17 Nov 2012 at 21:40.
      My Computer


  2. Posts : 72,046
    64-bit Windows 11 Pro for Workstations
       #2

    Hello Hastings, and welcome to Seven Forums.

    Don't worry. You just messed up the associations for exe files. You could download and merge the .reg file for the listed EXE option in the tutorial below to fix this. It will restore the default associations for .exe files.
    Hope this helps, :)
    Shawn
      My Computer


  3. Posts : 2
    Windows 7 Home Premium 64bit
    Thread Starter
       #3

    Thanks Brink, that solved the issue!
      My Computer


  4. Posts : 72,046
    64-bit Windows 11 Pro for Workstations
       #4

    You're most welcome. I'm glad to hear it's fixed now. :)
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:10.
Find Us