Or you could open it in Notepad.exe :-)

In WinXP, at the very least, you'll find the path to it in the following
REG_EXPAND_SZ key:

    HKEY_CLASSES_ROOT\Applications\notepad.exe\shell\open\command

The "(Default)" value holds the path.

If you're not on XP, simply search the registry for "notepad.exe". :-)

Regards,
~TJ

> You could extract the program associated with .TXT files from the registry
> and name that explicitly in ShellExecute()... still a bit of an assumption,
> but if they have nothing set up for .TXT then they deserve nothing to happen
> {:v)

--
"The new developer has a serious buffer overflow problem; send
him to a management meeting and everyone exploits him."
:
Powered by MTS Professional @ http://myrathi.co.uk/mts-pro/


_______________________________________________
msvc mailing list
[EMAIL PROTECTED]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription 
changes, and list archive.

Reply via email to