Hi all, I have just started to teach myself C and yesterday I did something awfully stupid. I wrote a source file, exexuted it and I didn't know why the cmd window only briefly appeared, I now know that the line 'system("pause") would of fixed this. Regardless, I went to my .exe created by my compiler and set it to open with cmd.exe. Of course this associated all programs with cmd, so when I run Chrome for example the command window opens and that's it, I know I could just type in the filepath to open it but I would just like to revert it to how it was. Also, system restore doesn't work so I can't take that route. Thanks for any help.