Can't open any .exe file or Regedit

Tonychu Posts 1 Registration date Sunday August 13, 2017 Status Member Last seen August 13, 2017 - Updated on Aug 13, 2017 at 12:24 PM
I had been tried for it by internet method for a while but still no working!

At first, I just want to open my Java install exe but no working, then I get an answer from google that use a .bat>code as here ftype exefile="%1" %* assoc .exe=exefile<
After I use that .bat, my whole exe file was broken and asking me to select a suitable program if I would like to open it.
I was reckless that I select "dev c++" to be that suitable program.
After that... I CAN'T OPEN ANYTHING EVEN regedit!
I was following another answer from here that said I should copy regedit onto the desktop and change it into a .COM file to open it. After doing all of that it still does not open.

Please! somebody help me!

I will really grateful for your kindness!