Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
1  
Looks like you changed your question to something almsot completely different? I suggest you change it back... –  SamB Jun 4 '10 at 19:45
add comment

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

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

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

share|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
add comment

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.

share|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
add comment

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