I remember now, when I tried to run the bat file it just opened briefly a DOS window, but nothing seemed to happen. Then I run it as Admin and then it worked.

Gabriel