[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Full-disclosure] Window's O/S



Hi,

You are right Brian (
http://msdn.microsoft.com/workshop/browser/configuration/clientreg/clientregistrylayout.asp)
The following .reg file should fix the problem. Save it as IE_path.reg and
double click on it:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source
Editor\Editor Name]
@="c:\\windows\\system32\\notepad.exe"



regards,

Andres Tarasco






2005/11/24, Brian Dessent <brian@xxxxxxxxxxx>:
>
> Cassidy Macfarlane wrote:
>
> > This seems to be a 'nearest path' issue - iexplore would use notepad.exe
> > to 'view source' by default, so when you choose to 'view source',
> > Windows looks to the PATH variable to find notepad.
>
> IE first looks for the key
>
> HKLM\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name
>
> If present, it uses its value as the name of the editor to launch.  If
> absent it seems to use a hardcoded default of just "notepad" without any
> qualifying path.
>
> It then searches starting on the desktop (and then presumably on the
> path) to find "notepad.*".  The first hit that it finds, it uses the
> standard shell launch method based on the class.  In this case that
> turns out to be HKCR\Folder\shell\open, which launches explorer.
>
> If you change the above "Editor Name" key to something with a qualified
> path such as "c:\winxp\system32\notepad.exe" you get notepad despite a
> folder on the desktop named notepad.  Similarly, if you set the above
> key to an unqualified "foobar" and have a folder named foobar on the
> desktop, it gets opened.  There's nothing special about "notepad" other
> than that's IE's built-in default.
>
> Brian
> _______________________________________________
> Full-Disclosure - We believe in it.
> Charter: http://lists.grok.org.uk/full-disclosure-charter.html
> Hosted and sponsored by Secunia - http://secunia.com/
>



--
Loco de aTar
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/