I don't know why that would be, it's a very basic script.

Try copying it again (I changed it a bit) and changing the name.

//echo -a $dirsize(c:\windows)

I got it to work on 6.01, 6.02, 6.03 and 6.12.