Win2k file format associations, how to change?

SP33Demon

Lifer
Jun 22, 2001
27,928
143
106
I have a text file in Win2K that I want to change the format to .cpp (c++ format) instead of .txt... but when I rename it .cpp, it still thinks it's a text file. Anyone know how to change this?

-Rob
 

KeyserSoze

Diamond Member
Oct 11, 2000
6,048
1
81
How are you changing the extension?

Try opening it in Notepad, then do "Save As", and at the bottom of the Save as Dialog Box, where it says Save As Type, put All Files, and THEN make sure that it has the "cpp" extension. That SHOULD do it.





KeyserSoze
 

MrChad

Lifer
Aug 22, 2001
13,507
3
81
In Explorer, go to Tools / Folder Options / View and uncheck "Hide extensions for known file types." Make sure that you're not renaming the file to "blah.cpp.txt"
 

SP33Demon

Lifer
Jun 22, 2001
27,928
143
106
Originally posted by: MrChad
In Explorer, go to Tools / Folder Options / View and uncheck "Hide extensions for known file types." Make sure that you're not renaming the file to "blah.cpp.txt"


Thanks guys, I figured out how to do it before anyone posted... This was the way I did it!
:beer: