>I think you have to specify the full path for permitirayuda.reg
The REG file was found all right (I had the REG file in the same directory as the BAT file), as evidenced by the fact that the keys were created. Borislav found the problem: I had to use double "\" and double "/"; the KB article had a slight error in this regard.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)