Have you tested the batchfile in a command prompt window? Did it work there?