I Can Open Notepad Faster Than Anyone

That’s right suckers…I can open notepad in less than a second, and this knowledge has finally gained me the noteriety I deserve.

Ok seriously, this actually reminds me of a support call I received back in my Microsoft Product Support Services employment days…it involved a couple of engineers from Oracle, and the fact that they were convinced that the notepad API released on Windows 2000 was different from the version released on Windows XP. Yeah, it was that ridiculous.

Apparently they had some internal applications that relied on automating notepad for some batch jobs…basically they would CoCreate a notepad instance and copy some text to it (why they just didn’t use the clipboard object model was beyond me, but hey…they work for Oracle so they must have their reasons), then they would pipe that text on to another process, ad nauseam. They noticed that this wasn’t working on Windows XP machines so they decided to give us a call to figure out why it wasn’t working. I don’t remember the exact specifics of the conversation (this was several years ago), but this wasn’t a trivial issue for them…they had several LOB applications that relied on automating notepad to get stuff done. Their first request was that the notepad API be released to them so they could figure out what they needed to change in order for their apps to work. In the most polite way I could tell them, I said that there isn’t really a public API for notepad…they didn’t believe me, so I proceeded to make a few well placed phone calls into the product teams to find out if there was something I could give to these guys so they would leave me alone. Of course the answers I got were what I expected…there is no notepad API, and why aren’t they just using the clipboard (or temporary text files) to copy text around for inter-application communication? I felt quite silly to say the least.

The problem is that they really were having application failures because of the seemingly “breaking” API changes from notepad Win2k to WinXP, and as Oracle is one of MS’s largest customers, it needed to be fixed. The solution? Copy notepad.exe from a Win2k machine to the WinXP’s %system%\System32 folder. Yes, I came up with that one on my own, and no…I have no idea why that solved their issue, but it did.

I’d say 90% of the calls I received during my tenure at MS were difficult and thought provoking. But it was the other 10% (which this one definitely falls under) that made the job actually fun, and put a smile on my face at the end of the day (and it was most definitely one of the more stressful gigs I’ve ever had, so anything comical was always worth it).

Bow down to my notepad greatness.

No comments yet