I also don't really see the need for the extra quotes. Otherwise, reading your script, I have trouble figuring out whether you are running in under Windows or Unix, some parts seem to indicate the latter and some others the former. It would be nice to specify.