How to find the default text editor in Windows.
Hi all,
How can I find what's the default text editor on Windows. I'm looking it in programmatic way, I hope that's the word to use. Actually I want to execute the default text editor in programatically. So I need to find what's the location of this is recorded.
I hope it's clear to you.
Re: How to find the default text editor in Windows.
You check the registry. In Vista (should be same in xp), look at key HKEY_CLASSES_ROOT/.txt/ShellNew/ItemName
not too difficult, really.