Friday, July 16, 2010

Think Notepad only opens files? Nope! File/Open a HTTP URL (and get the HTML response) in Notepad…

Just learned this today via JoshEinstein.com - Quick Tip – Troubleshoot broken OData response using Notepad

Did you know you can “open” a URL in Notepad?

image

image

I’ve confirmed this works on both Windows XP (SP3) and Windows 7.

That’s pretty cool… :)

5 comments:

Tommy Carlier said...

It apparently works with ANY Windows-application. I think it's the OpenFileDialog that downloads the URL to a temporary file and passes the path of that temporary file to the application.

Unknown said...

It works... great... thanks...

Unknown said...

As a corollary of Tommy Carlier's theorem, it also works in Notepad++!

Anonymous said...

This is a great tip. I use UltraEdit and it works there too! I never knew about this, thanks!

Mike Anthony said...

hmm..pretty cool, thanks.