Fix installation on Windows

A few parts of the reset.bat file were broken.
The diff shows a huge change because of windows/unix line ending conversion, but only a few lines have actually changed.