windows 8 - How to restore .C file association with notepad?
2014-07
I have to upload .C file for a contest! But once i have opened .c file with notepad and saved..After that notepad is the default opener of C files in my desktop. The problem is if i upload that file, the website cant recognize the kind of file as C file and producing illegal format error. How to restore this C file association with notepad and make it ask everytime "how to open"? I'm using windows 8. Thanks !!!
Control Panel -> Default Programs -> Set Associations. It lists all the extensions and their associated programs. It lets you change the entries, but there doesn't seem to be a way to delete an entry.
Possible Duplicate:
How to set the default program for opening files without an extension in Windows?
I am using http://www.pnotepad.org/ (i wouldnt mind switching to something else if it lightweight and has most/all features i like which i'll check on a app by app basis)
When i create a new tab/file and save it unless i write .txt i get a file with no extention. Which makes it hard to open since i cant double click it (i dont think i can tell win7 to set a default app for files with no extension)
How do i make pnotepad save with a .txt when non are specified?
To create a default association for files with no extension, open Folder Options > File Types > New Type
and apply the following settings:
Description of type: Text
(you can type in any description)
Associated extension: .
(just a period)
Actions: New
Action: Open
Application used to perform action: C:\Program Files\<pnotepad_folder>\pnotepad.exe
Wether or not a specific filetype is added if non is given is implemented by the program. This is not a default Windows setting.
Since I don't know what you are using it for I can't really recommend any editor, but I have been using notepad++ for years now and it has most, if not all, features you expect from a decent text-editor. See http://notepad-plus.sourceforge.net/ for the details.