Only tested this under Linux - don't even have a Windows environment handy to test against :(