Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Issue with .exe and Command Prompt

17 Nov 2012   #1

Windows 7 Home Premium 64bit
.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

My System SpecsSystem Spec
17 Nov 2012   #2

64-bit Windows 10 Pro

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.
Default File Type Associations - Restore
Hope this helps,
My System SpecsSystem Spec
17 Nov 2012   #3

Windows 7 Home Premium 64bit

Thanks Brink, that solved the issue!
My System SpecsSystem Spec

17 Nov 2012   #4

64-bit Windows 10 Pro

You're most welcome. I'm glad to hear it's fixed now.
My System SpecsSystem Spec

 Issue with .exe and Command Prompt

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar help and support threads
Thread Forum
Command Prompt command <ipconfig> not working
when I open up my command prompt and type 'ipconfig' without the ' and press enter it returns the line: 'ipconfig' is nto recognized as an internal or external command, operable program, or batch file I am trying to find out the information I need in order to set up a static IP Address for port...
Network & Sharing
How to fix MBR through command prompt?
Question: What commands could I run in the command prompt during the system recovery? I try & run say "fixmbr" but it doesn't work. Say if I want to write a new master boot record how would I do that?
General Discussion
command prompt
Hi all i need you help me a thing :cry: I went to use autosave all text on command prompt (CMD), how can i do or use what command prompt cade for mark it autosave when i used command prompt. Example : Color 0a
General Discussion
Run administrative command prompt from command prompt
Ok So I got myself into a unique bind here. I was trying to install some custom system files (for a theme) and I did it wrong and now I cant open explorer.exe . I dont want to goto a backup because this is a easy fix. (in my view). So I need to know how to run command prompt with administrative...
General Discussion
Command Prompt Build Issue
Hello, I am having a general issue with my command prompt and I am not sure how to fix it. I've been working with a Windows Batch File (.bat) that I use to build a program I have been working on. The problem is when I build my program the command prompt will not stay open upon completion of the...
General Discussion
Strange Command Prompt Issue
This problem also occurred in build 7264. Whenever I open command prompt, whether it be running it as admin or not, it causes explorer to crash within 15-20 seconds of opening it. Explorer restarts just fine, and the problem will not occur again unless I re-open command prompt. Anyone else...
General Discussion

Our Sites

Site Links

About Us

Find 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 17:10.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App