how to restore file "Open with" with its default

froyojack

Commendable
Aug 29, 2016
8
0
1,510
as I was going through some of the files for a game ( getting hints for hidden stuff in game) I accidentally had the DAT. file open up with NotePad and with that happening I cant open up the load data in the game without the game crashing.

I went to the Set Association and tried to change it back to default and I'm on Windows 10 and its having me a app I also tried using the regedit and went in and deleted the NotePad from the Open with but its still using it :/

does anyone know a fix for this?
 
Solution
In Command Prompt use the ASSOC command.

"ASSOC .DAT<Enter>" will remove association for .DAT files

"ASSOC /?<Enter> for help on the command

Nigel