Opening .blah files in windows
Jul. 25th, 2012 03:05 pmI had always been annoyed that windows can't associate a file type with files if they don't have an extension: eg. you can say "Open *.mk files in notepad++" but not "Open files called Makefile in Notepad++".
But then someone pointed out you *can* associate "no extension" with "open in Notepad++". I can't believe I never thought of that.
That's not perfect, because some files with no extension are binary, not text. But I never open those in Windows Explorer, do I? The only reason I ever DO want to open them is to edit them as text. And I generally want to open all scripts, text files, code, etc, etc, in the same program, and it's up to that program to know how to treat them, so I don't care that there's no way of distinguishing in windows.
I don't know if there's a way of treating files that start with a . the same way...
But then someone pointed out you *can* associate "no extension" with "open in Notepad++". I can't believe I never thought of that.
That's not perfect, because some files with no extension are binary, not text. But I never open those in Windows Explorer, do I? The only reason I ever DO want to open them is to edit them as text. And I generally want to open all scripts, text files, code, etc, etc, in the same program, and it's up to that program to know how to treat them, so I don't care that there's no way of distinguishing in windows.
I don't know if there's a way of treating files that start with a . the same way...
no subject
Date: 2012-07-25 02:52 pm (UTC)no subject
Date: 2012-07-25 03:02 pm (UTC)The biggest downside is that I think I got most of the benefit already, so it wouldn't give that much more.