thank you both for your answers, finally solved the problem thanks to Iori wink .
I had tried to run it using cmd.exe, but hadn't worked. The /k switch made it just fine. Thanks again smile