I see your errorlevel and raise you a process exit code

December 7, 2012

Have you ever written a batch file that is more of a “application” than a script? Of course you made sure ERRORLEVEL is set correctly so when your batch file is a part of a larger script, IF ERRORLEVEL error checking can be used. What could go wrong?

For some crazy reason, cmd.exe does not use the expected logic when you use the && and/or || syntax. I assume part of the problem is because the batch file is executed by cmd.exe itself and there is no child process and no real process exit code.

Fixing this requires some hacky workarounds and is generally a big pain in the ass.
Read the rest of this entry »


WinDbg: A darker shade of border?

July 31, 2012

Why does WinDbg look like crap?

Read the rest of this entry »

Certification requirements for Metro style apps

February 15, 2012

As I feared, Microsoft are heading down the locked-down Apple style path with Metro/WinRT.

Let’s take a look at the (preliminary) certification requirements for the Windows Store: Read the rest of this entry »

Windows 8 (//build/ 2011) platform lies

September 16, 2011

I’m sure you have seen this slide:

The truth is probably closer to this:

Never means never, unless you are the taskbar

September 14, 2011

I like to keep my taskbar buttons grouped a certain way but explorer forces per application combined groups even when you tell it never to combine!

The DWM hates the paparazzi

August 24, 2011

The windows team is probably working on the third generation of the DWM but the screen shot capability is still in the dark ages, just take a look at the B8 blog:

A third-party tool should not be required to create a simple screen shot of a window in 2011.

Somewhat automatic flash update

August 17, 2011

How many times are you going to force me to click this Adobe?

..and this?

Giving the user some control over the auto update process is good, but one button click should be enough and don’t force me to agree to the same license every time! (I assume the license is the same, we all know nobody reads those anyway)

The application directory bundle shell hack

August 14, 2011

In the words of the great Raymond Chen: In Windows, the directory is the application bundle but that is a poor excuse for the lack of some kind of application bundle or fat binary support. I usually don’t care about eye candy but it would be nice (and a fun experiment) if we could get a application directory to look and act like a real application bundle. Read the rest of this entry »

UNC + \\?\ means more work for you

May 9, 2011

Working with extended-length paths is bad enough on its own, but at least they are easy to display to the user:


Until you add UNC paths into the the mix that is…
Read the rest of this entry »

Firefox 4, no thanks

April 27, 2011

The Firefox 4 upgrade campaign is under way, but since I don’t like what they have done with the UI I’ll be sticking with 3.6 for as long as possible.

They removed the statusbar with it it’s handy download progress indicator and replaced it with another bar that looks exactly like the bar it replaces, only with less features. Why not just hide the statusbar by default?

FF3 statusbar download

Not only did they remove useful features, they now ignore the visual styles and don’t care about the native look on XP:

…and don’t get me started on the tabs-on-top fad.