Yeah, that's it. My screensavers are opening in Notepad instead of executing when I double-click on a shortcut I made. No associations for them on file; what could have caused this?
If you (like me) have a file association that allows you to open all files in Notepad (or a similar text editor), then that association might be the cause of the problem. For some reason not all predefined file types have a default action, and so for those file types Windows will use your newly created Open in Notepad association. The solution is to explicitly set the default action for .SCR files in Tool -> Options -> File types and so on...
teis wrote:If you (like me) have a file association that allows you to open all files in Notepad
How did you set that up?
No such association on file. Generally I'll just use 'open with' or I'll open NotePad and drag/browse.
SlackmasterK wrote:Yeah, that's it. My screensavers are opening in Notepad instead of executing when I double-click on a shortcut I made. No associations for them on file; what could have caused this?
I had this, a few years ago. On NT4, if I remember correctly.
I don't remember what I installed, but something decided that .scr files are the extensions for its SCRipt files, and thus associated them with Notepad.
Not that I mind too much. It might actually be a good thing, since SCRs (being renamed EXEs) are often used to carry viruses. And right-clicking and selecting Test still works.
Windows Registry Editor Version 5.00
@="rundll32.exe desk.cpl,InstallScreenSaver %l"
Worked for me!
Cheers from Hungary!
I found this topic with google search, with these keywords: .scr notepad