Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Notepad Folder Opens


  • Please log in to reply
24 replies to this topic

#16 Joshuacat

Joshuacat

    01001010 01000011


  • Members
  • 1,950 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Ontario, Canada
  • Local time:01:20 AM

Posted 04 January 2006 - 08:51 AM

Scarlett:

Here's a couple more links that may help. The first one has a picture of the way the entry should look.

Use an Alternate Source Viewer with Internet Explorer (All Windows)

Internet Explorer Client Registry Layout

I guess you could use Word or any other text editor to view the source.

Hope that helps,
JC

BC AdBot (Login to Remove)

 


#17 Scarlett

Scarlett

    Bleeping Diva

  • Topic Starter

  • Members
  • 7,479 posts
  • OFFLINE
  •  
  • Gender:Female
  • Location:As always I'm beside myself ;)
  • Local time:12:20 AM

Posted 04 January 2006 - 09:19 AM

Scarlett:
Internet Explorer Client Registry Layout

I guess you could use Word or any other text editor to view the source.

Hope that helps,


Taken from MSN link in above quote:

http://msdn.microsoft.com/library/default....istrylayout.asp


Selecting a View Source Editor
By default when you use the View Source feature of Internet Explorer it launches Notepad as the text editor. The following registry key will allow another source editor to be used:


HKEY_LOCAL_MACHINE
Software
Microsoft
Internet Explorer
View Source Editor
Editor Name
(Default) = C:\Program Files\MyHTML\MyEditor.exe

Note Changes to this registry value take effect immediately. No environment variables (such as %ProgramFiles%) or command line arguments are allowed. The filename of the cached HTML file is passed as the first argument on the command line.



Thanks JC!

So for instance could I add Wordpad like this?

(Default) = C:\Program Files\MyHTML\MyEditor.exe
To:
(Default) = C:\Program Files\WORDPAD.EXE\MyEditor.exe


And would I need to delete the key I have aready made? And start a new one. Or could I just change the default in the one I already made?

Edited by Scarlett, 04 January 2006 - 09:21 AM.

Posted Image

#18 Joshuacat

Joshuacat

    01001010 01000011


  • Members
  • 1,950 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Ontario, Canada
  • Local time:01:20 AM

Posted 04 January 2006 - 11:47 AM

Scarlett:

It looks like you have already created it correctly, if you have the following, right?
No need to recreate it, if this is what you already have.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name]

So for instance could I add Wordpad like this?

(Default) = C:\Program Files\MyHTML\MyEditor.exe
To:
(Default) = C:\Program Files\WORDPAD.EXE\MyEditor.exe


Since I don't have ME(that is your OS, right?) you will have to do a search for the WordPad file to find the exact path.
By the way, this is not needed.(strickthrough below)

C:\Program Files\WORDPAD.EXE\MyEditor.exe

It should be...(again this depends on the exact location of the editor)

C:\Program Files\WORDPAD.EXE

Here's what it looked like on my computer when I tested it.

Attached File  value.jpg   7.84KB   28 downloads

I am using a Windows 2000 computer at work, so your path will be different.

Hope that helps.
:thumbsup:

Edited by Joshuacat, 04 January 2006 - 11:48 AM.

JC

#19 Rimmer

Rimmer

  • Members
  • 2,159 posts
  • OFFLINE
  •  
  • Location:near Sydney, Australia
  • Local time:03:20 PM

Posted 04 January 2006 - 05:49 PM

so your path will be different.


That's a possibility I didn't think of.
Scarlett - Is C:\Windows\NOTEPAD.EXE the correct path to Notepad on your PC?

Soltek QBIC, Pentium 4 3.0GHz, 512MB RAM, 200GB SATA HDD, ATI Radeon 9600XT 256MB, Netgear 54Mb/s WAP, ridiculously expensive Satellite Broadband
Windows XP Home SP2, Trend Micro Internet Security, Firefox, Thunderbird, AdAwareSE, Spybot S&D, SpywareBlaster, A-squared Free, Ewido Security Suite.

#20 Scarlett

Scarlett

    Bleeping Diva

  • Topic Starter

  • Members
  • 7,479 posts
  • OFFLINE
  •  
  • Gender:Female
  • Location:As always I'm beside myself ;)
  • Local time:12:20 AM

Posted 04 January 2006 - 09:27 PM

I found this in notepad.exe > properties> shortcut tab > target

c:\Windows\notepad.exe\NOTEPAD.EXE


Then went back in and used it.
And guess what?
It worked! :thumbsup:
Success! :flowers:

There is only one thing, when I went to view source, wordpad opened with the page source on it. :inlove:

And guess what else?
I dont care! :trumpet:

Funny though kinda the same thing happens when I try and save a HJT log. It starts out in notepad then ends up in wordpad.

Hey whatever works. lol

Thanks guys for all the help! :cool:

Edited by Scarlett, 04 January 2006 - 09:46 PM.

Posted Image

#21 Joshuacat

Joshuacat

    01001010 01000011


  • Members
  • 1,950 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Ontario, Canada
  • Local time:01:20 AM

Posted 04 January 2006 - 10:01 PM

That path still looks wrong to me, and the fact that wordpad opens instead of notepad...what?! :thumbsup:
Notepad opens first with HiJackThis, and then WordPad opens right after with your log... :flowers:
I am almost tempted to set up a test Windows ME computer to reproduce this... :trumpet:

Hey whatever works. lol


If you're happy, I am happy.

:inlove:
JC

#22 Scarlett

Scarlett

    Bleeping Diva

  • Topic Starter

  • Members
  • 7,479 posts
  • OFFLINE
  •  
  • Gender:Female
  • Location:As always I'm beside myself ;)
  • Local time:12:20 AM

Posted 05 January 2006 - 12:08 AM

That path still looks wrong to me, and the fact that wordpad opens instead of notepad...what?! :thumbsup:
Notepad opens first with HiJackThis, and then WordPad opens right after with your log... :flowers:
I am almost tempted to set up a test Windows ME computer to reproduce this... :trumpet:


Ok When I choose Scan and save a logfile. ... you ready.. lol Notepads folder opens not a saved
log in notepad. :inlove: Sound familiar?

So what I do is > System Scan only > Save Log > Send to desktop > open with wordpad

Even once the log is on the desktop, Notepad will not open it, I get this:

Windows can not access the specified device, path or file.
You may not have the appropriate permissions to access the items.


Edited by Scarlett, 05 January 2006 - 12:11 AM.

Posted Image

#23 Rimmer

Rimmer

  • Members
  • 2,159 posts
  • OFFLINE
  •  
  • Location:near Sydney, Australia
  • Local time:03:20 PM

Posted 05 January 2006 - 01:11 AM

I'm going to end up confusing everyone I know, but:

c:\Windows\notepad.exe\NOTEPAD.EXE

- means you actually do have a folder called notepad.exe which, I think, would explain this:

When I choose Scan and save a logfile. ... you ready.. lol Notepads folder opens not a saved log in notepad


Also, back in the mists of time, in the dark ages (around Windows 95 I think) I seem to remember getting error messages like "this file is too large for Notepad to open would you like to open it in Wordpad?". Your problem is not some automated version of that is it? :thumbsup:

Edited by Rimmer, 05 January 2006 - 01:12 AM.


Soltek QBIC, Pentium 4 3.0GHz, 512MB RAM, 200GB SATA HDD, ATI Radeon 9600XT 256MB, Netgear 54Mb/s WAP, ridiculously expensive Satellite Broadband
Windows XP Home SP2, Trend Micro Internet Security, Firefox, Thunderbird, AdAwareSE, Spybot S&D, SpywareBlaster, A-squared Free, Ewido Security Suite.

#24 Scarlett

Scarlett

    Bleeping Diva

  • Topic Starter

  • Members
  • 7,479 posts
  • OFFLINE
  •  
  • Gender:Female
  • Location:As always I'm beside myself ;)
  • Local time:12:20 AM

Posted 05 January 2006 - 01:01 PM

:thumbsup: Rimmer

From my initial post in this thread.

http://windowsxp.mvps.org/ie/viewsrc.htm

Notepad folder opens when you attempt to view the source of a web page?

Symptom
When you visit a web page, and then click the View menu and select the Source command, Internet Explorer may open the Notepad folder present in the Desktop, rather than displaying the source code of the web page.


Considering that this info is out there, I must not be the only one that has had this problem.

And since I this branch in my reg was not there.....
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Internet Explorer \ View Source Editor \ Editor Name

....and I had to create the keys neccessary in order to accomplish the task at hand. Then it could be because my computer which started out w/ Win 95 later upgraded to ME did not have the branch in the reg by default.
Which must be true, being as it was not there. lol
Maybe those others that have this problem, do not have the branch in thier reg by default eiether.

Just a theory....

Edited by Scarlett, 05 January 2006 - 01:02 PM.

Posted Image

#25 Rimmer

Rimmer

  • Members
  • 2,159 posts
  • OFFLINE
  •  
  • Location:near Sydney, Australia
  • Local time:03:20 PM

Posted 05 January 2006 - 09:52 PM

Well I don't have that branch and I never had a problem viewing source.

My point is notepad has been around forever and in a standard Windows installation its full path is C:\Windows\Notepad.exe. Therefore applications which call notepad to display something - such as an HJT scan or 'view>source' will call "C:\Windows\Notepad.exe" which on your system is not the correct path for notepad but is a folder containing notepad.

I'm suggesting you copy notepad.exe (the application) back into your Windows folder (you'll have to copy it somewhere else first) and delete notpad.exe (the folder). Then I think your problem with HJT will dissapear. You will also need to change the registry key "Editor Name" back to the original value of C:\Windows\Notepad.exe and you will still get notepad (or wordpad?) when you view>source.
:thumbsup:

Soltek QBIC, Pentium 4 3.0GHz, 512MB RAM, 200GB SATA HDD, ATI Radeon 9600XT 256MB, Netgear 54Mb/s WAP, ridiculously expensive Satellite Broadband
Windows XP Home SP2, Trend Micro Internet Security, Firefox, Thunderbird, AdAwareSE, Spybot S&D, SpywareBlaster, A-squared Free, Ewido Security Suite.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users