By Chris R. Chapman at November 23, 2005 05:46
Filed Under: ie, IE7, windows

I have Notepad2 installed in my /windows folder and I really prefer it over the standard offering since it comes with a whack of useful features (like line numbers, scheme formats, regular expression searches, etc.).  Unfortunately, it isn't obvious nor easy to default IE to use it for “View Source” operations on a web page.

So, here's a quick way of doing this.  Disclaimer:  This involves editing the registry, so be careful, don't hold me responsible, yadda, yadda, yadda.

  1. Open up regedit from the Start..Run box
  2. Navigate to HKLM\Software\Microsoft\Internet Explorer
  3. You should see a key in there called View Source Editor;  if you don't (like me), add it.
  4. Within that key, if it doesn't exist, create another key called Editor Name.
  5. Modify the default value of this key to the fully-qualified-path to your editor of choice.  For me, I used “C:\windows\notepad2.exe“.
  6. Close RegEdt

Changes should take effect immediately.  Enjoy!

By Chris R. Chapman at November 10, 2005 05:44
Filed Under: windows

Quick reference time again, kids!  Today, we're going to launch control panels for XP from the command line!  Here's an abbreviated list that I've compiled from my system by doing a quick search for files with the .cpl suffix in the C:\WINDOWS\SYSTEM32 folder:

Control Panel Command
Add/Remove Programs appwiz.cpl
Display Properties desk.cpl
Firewall firewall.cpl
Add Hardware hdwwiz.cpl
Internet Properties inetcpl.cpl
Regional and Language Options intl.cpl
Mouse Properties main.cpl
Audio mmsys.cpl
Network Connections ncpa.cpl
Wireless Network Setup netsetup.cpl
User Accounts nusrmgr.cpl
Power Options powercfg.cpl
System Properties sysdm.cpl
Time/Date timedate.cpl
Windows Security Centre wscui.cpl
Automatic Updates wuaucpl.cpl

I find the command  names amusing -- some look or sound exactly like you think they should.  “sysdm.cpl” was an inspired choice in this regard... ;)