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:

  1. 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.

    ReplyDelete
  2. It works... great... thanks...

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

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

    ReplyDelete
  5. hmm..pretty cool, thanks.

    ReplyDelete

NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...

ALL comments are moderated. I will review every comment before it will appear on the blog.

Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...

I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...

Please see my comment policy for more information if you are interested.

Thanks,
Greg

PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...