I always forget that Pascal can be used as a shell script as well. I have to see how does it work on Windows though.