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?

link|improve this question

55% accept rate
Looks like you changed your question to something almsot completely different? I suggest you change it back... – SamB Jun 4 '10 at 19:45
feedback

closed as exact duplicate by studiohack Nov 9 '11 at 1:20

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

2 Answers

up vote 5 down vote accepted

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

link|improve this answer
3  
You cant do that in windows 7 but i decided to check out the registry and looked up the extension in root (i remember programming an app to add an extension). Then i looked at one of my default extensions which uses notepad and it only had a default value. I made a new key '.' as you suggested and set the same value. It worked. – acidzombie24 May 5 '10 at 10:31
feedback

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.

link|improve this answer
+1 for notepad++. Until a recent update it also used to default to having no extension when saving new files. It now defaults to saving with a .txt extension – Shevek May 5 '10 at 9:14
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.