6

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?

2 Answers2

5

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

3

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.

R-D
  • 2,556